GetAwaiter
method in Coherence.Cloud
Methods
public TaskAwaiter<CoherenceTask<TResult>> GetAwaiter()
Gets an object that can be used to await for this operation to complete.
Returns
Type | Description |
---|---|
TaskAwaiter<CoherenceTask<TResult>> | A new task awaiter instance. |
Remarks
Awaiting the result of this method never causes an exception to be thrown. You can use IsCanceled to determine if the operation has been canceled instead.