Interface Future.IAwaiter
Represents awaiter of the asynchronous computation result represented by future object.
Namespace: DotNext.Threading.Tasks
Assembly: DotNext.dll
Syntax
public interface IAwaiter : IFuture, INotifyCompletion
Methods
| Improve this Doc View SourceGetResult()
Ends the wait for the completion of the asynchronous task.
Declaration
void GetResult()
Exceptions
Type | Condition |
---|---|
OperationCanceledException | Cancellation requested and caller specified that exception should be thrown. |
Future.IncompletedFutureException | The current future is not completed. |