Awaiter
Struct in Arbor.Threading.Tasks / Inherits from: System.ValueType
Implements interfaces: System.Runtime.CompilerServices.ICriticalNotifyCompletion
Description
A structure for waiting for an asynchronous task to complete
Properties
| Property Name | Description |
|---|---|
| IsCompleted | Gets whether the asynchronous task has completed. |
Methods
| Method Name | Description |
|---|---|
| GetResult | End the wait for the completion of the asynchronous task. |
| OnCompleted | Set the action to be taken when you stop waiting for the asynchronous task to complete. |
| UnsafeOnCompleted | Schedule a continuation operation to the asynchronous task associated with this awaiter. |