CoherenceTask
Represents an asynchronous operation.
Remarks
Async methods can await to wait until the operation finishes.
Coroutines can yield to wait until the operation finishes.
Coherence tasks do not throw exceptions if they are cancelled; you can determine if an operation has been canceled using IsCanceled instead.
Constructors
CoherenceTask |
Fields
task |
Properties
IsCanceled | Gets whether this operation has completed execution due to being canceled. |
IsCompleted | Gets whether the operation has completed. |
IsCompletedSuccessfully | Gets whether the operation has completed successfully. |
keepWaiting |
Methods
ContinueWith | Specify an action to perform after the operation has completed (IsCompleted is true. |
GetAwaiter | Gets an object that can be used to await for this operation to complete. |
OnSuccess | Specify an action to perform if the operation completes successfully (IsCompletedSuccessfully is true. |
ToString |
Operators
op_Implicit |