bool | IsCompleted[Get] Whether the task has completed. |
void INotifyCompletion. | OnCompleted ( Action continuation ) Provides the Awaiter with a method to call when the task completes. |
TResult | GetResult ( ) Gets the result of the asynchronous operation. |
bool OVRTask< TResult >.Awaiter.IsCompleted |
---|
Whether the task has completed. When True the asynchronous operation associated with the OVRTask<TResult> that created this Awaiter (see OVRTask<TResult>.GetAwaiter) is complete. Typically, you would not call this directly. This is queried by a compiler-generated state machine to support async / await. |
void INotifyCompletion. OVRTask< TResult >.Awaiter.OnCompleted ( Action continuation ) |
---|
Provides the Awaiter with a method to call when the task completes. Do not call this directly. It is called by a compiler-generated state machine when using the await keyword. Parameters continuation The continuation to invoke when the task is complete. |
TResult OVRTask< TResult >.Awaiter.GetResult ( ) |
---|
Gets the result of the asynchronous operation. Typically, you should not call this directly. Use OVRTask<TResult>.GetResult() instead. Returns The result of the asynchronous operation. Exceptions InvalidOperationException Thrown if there is no result available. |