Future<T> Methods |
The Future<T> generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Fail(Action1<Exception>) |
Appends a handler to be executed when the promise is rejected.
|
![]() | Fail(Function1<Exception, Future<T>>) |
Appends a handler to be executed when the promise is rejected.
|
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Then(Action1<T>) |
Appends a handler to be executed when the promise is resolved.
|
![]() | Then(Action1<T>, Action1<Exception>) |
Appends handlers to be executed when the promise is resolved or rejected.
|
![]() | Then<R>(Function1<T, Future<R>>) |
Appends a handler to be executed when the promise is resolved.
|
![]() | Then<R>(Function1<T, Future<R>>, Action1<Exception>) |
Appends handlers to be executed when the promise is resolved or rejected.
|
![]() | ToString | (Inherited from Object.) |
![]() | WaitForPromise |
Blocks the current thread from proceeding
until the future state has been resolved or rejected.
|
![]() | WaitForResult |
Blocks the current thread from proceeding
until the future has a result. Throws an
exception if the promise is rejected.
|