Merge remote-tracking branch 'origin/master'
commit
0b27c3a342
|
@ -29,6 +29,7 @@ Provides an efficient async/await integration to Unity.
|
||||||
- [Awaitable Events](#awaitable-events)
|
- [Awaitable Events](#awaitable-events)
|
||||||
- [Channel](#channel)
|
- [Channel](#channel)
|
||||||
- [For Unit Testing](#for-unit-testing)
|
- [For Unit Testing](#for-unit-testing)
|
||||||
|
- [Compare with Standard Task API](#compare-with-standard-task-api)
|
||||||
- [Pooling Configuration](#pooling-configuration)
|
- [Pooling Configuration](#pooling-configuration)
|
||||||
- [API References](#api-references)
|
- [API References](#api-references)
|
||||||
- [UPM Package](#upm-package)
|
- [UPM Package](#upm-package)
|
||||||
|
@ -686,7 +687,7 @@ UniTask has many standard Task-like APIs. This table shows what is the alternati
|
||||||
Use standard type.
|
Use standard type.
|
||||||
|
|
||||||
| .NET Type | UniTask Type |
|
| .NET Type | UniTask Type |
|
||||||
| --- | --- | --- |
|
| --- | --- |
|
||||||
| `IProgress<T>` | --- |
|
| `IProgress<T>` | --- |
|
||||||
| `CancellationToken` | --- |
|
| `CancellationToken` | --- |
|
||||||
| `CancellationTokenSource` | --- |
|
| `CancellationTokenSource` | --- |
|
||||||
|
@ -694,10 +695,10 @@ Use standard type.
|
||||||
Use UniTask type.
|
Use UniTask type.
|
||||||
|
|
||||||
| .NET Type | UniTask Type |
|
| .NET Type | UniTask Type |
|
||||||
| --- | --- | --- |
|
| --- | --- |
|
||||||
| `Task`/`ValueTask` | `UniTask` |
|
| `Task`/`ValueTask` | `UniTask` |
|
||||||
| `Task<T>`/`ValueTask<T>` | `UniTask<T>` |
|
| `Task<T>`/`ValueTask<T>` | `UniTask<T>` |
|
||||||
| `void` | `UniTaskVoid` |
|
| `async void` | `async UniTaskVoid` |
|
||||||
| --- | `UniTaskCompletionSource` |
|
| --- | `UniTaskCompletionSource` |
|
||||||
| `TaskCompletionSource<T>` | `UniTaskCompletionSource<T>`/`AutoResetUniTaskCompletionSource<T>` |
|
| `TaskCompletionSource<T>` | `UniTaskCompletionSource<T>`/`AutoResetUniTaskCompletionSource<T>` |
|
||||||
| `ManualResetValueTaskSourceCore<T>` | `UniTaskCompletionSourceCore<T>` |
|
| `ManualResetValueTaskSourceCore<T>` | `UniTaskCompletionSourceCore<T>` |
|
||||||
|
|
Loading…
Reference in New Issue