UniTask
Lightweight unity specified task-like object.
Run action on the threadPool and return to current SynchronizationContext if configureAwait = true.
Run action on the threadPool and return to current SynchronizationContext if configureAwait = true.
Run action on the threadPool and return to current SynchronizationContext if configureAwait = true.
Run action on the threadPool and return to current SynchronizationContext if configureAwait = true.
returns (bool IsCanceled) instead of throws OperationCanceledException.
Memoizing inner IValueTaskSource. The result UniTask can await multiple.
If register manually continuation, you can use it instead of for compiler OnCompleted methods.
helper of fire and forget void action.
helper of fire and forget void action.
helper of fire and forget void action.
helper of create add UniTaskVoid to delegate.
For example: FooAction = UniTask.Action(async () => { /* */ })
helper of create add UniTaskVoid to delegate.
helper of create add UniTaskVoid to delegate.
Defer the task creation just before call await.
Defer the task creation just before call await.
Defer the task creation just before call await.
Defer the task creation just before call await.
Never complete.
Never complete.
Note: use SwitchToThreadPool is recommended.
Return value is winArgumentIndex
Return value is winArgumentIndex
Optimizing utility to avoid .ToArray() that creates buffer copy(cut to just size).
(trackingId, awaiterType, awaiterStatus, createdTime, stackTrace)
The operation has not yet completed.
The operation completed successfully.
The operation completed with an error.
The operation completed due to cancellation.
status != Pending.
status == Succeeded.
status == Canceled.
status == Faulted.
Obsolete(Error), Use Use ForEachAwaitAsync instead.
Obsolete(Error), Use Use ForEachAwaitAsync instead.
If return value is false, continue source.MoveNext.
Lightweight IProgress[T] factory.
Lightweight unity specified task-like object.
Memoizing inner IValueTaskSource. The result UniTask can await multiple.
returns (bool IsCanceled, T Result) instead of throws OperationCanceledException.
If register manually continuation, you can use it instead of for compiler OnCompleted methods.
Completes with a successful result.
The result.
Completes with an error.
The exception.
Gets the operation version.
Gets the status of the operation.
Opaque value that was provided to the 's constructor.
Gets the status of the operation without token validation.
Gets the result of the operation.
Opaque value that was provided to the 's constructor.
Schedules the continuation action for this operation.
The continuation to invoke when the operation has completed.
The state object to pass to when it's invoked.
Opaque value that was provided to the 's constructor.
Convert Task[T] -> UniTask[T].
Convert Task -> UniTask.
Ignore task result when cancel raised first.
Ignore task result when cancel raised first.
Ideally returns IObservabl[Unit] is best but Cysharp.Threading.Tasks does not have Unit so return AsyncUnit instead.
Propagate OperationCanceledException to UnobservedTaskException when true. Default is false.