Struct TaskWithProgress<T>.Awaiter
Provides an awaiter for awaiting a TaskWithProgress<T>.
Namespace: FulcrumFS
Assembly: FulcrumFS.dll
Syntax
public readonly struct TaskWithProgress<T>.Awaiter : ICriticalNotifyCompletion, INotifyCompletion
Properties
| Name | Description |
|---|---|
| IsCompleted | Gets a value that indicates whether the asynchronous task has completed. |
Methods
| Name | Description |
|---|---|
| GetResult() | Ends the wait for the completion of the asynchronous task. |
| OnCompleted(Action) | Sets the action to perform when the TaskAwaiter object stops waiting for the asynchronous task to complete. |
| UnsafeOnCompleted(Action) | Schedules the continuation action for the asynchronous task that is associated with this awaiter. |