PromiseBaseT Class |
Namespace: FM.IceLink
The PromiseBaseT type exposes the following members.
Name | Description | |
---|---|---|
![]() | PromiseBaseT |
Initializes a new instance of the PromiseBaseT class.
|
Name | Description | |
---|---|---|
![]() | Exception |
Gets or sets the exception if rejected.
(Inherited from FutureBaseT.) |
![]() | Id |
Gets the identifier of this promise.
|
![]() | Result |
Gets or sets the result if resolved.
(Inherited from FutureBaseT.) |
![]() | State |
Gets or sets the current state.
(Inherited from FutureBaseT.) |
Name | Description | |
---|---|---|
![]() ![]() | AllR |
Returns a promise that resolves when all passed in promises resolve.
|
![]() | DoAllR |
Internal DoAll.
|
![]() | Equals | (Inherited from Object.) |
![]() | Fail(Action1Exception) |
Appends a handler to be executed when the promise is rejected.
(Inherited from FutureT.) |
![]() | Fail(Function1Exception, FutureT) |
Appends a handler to be executed when the promise is rejected.
(Inherited from FutureT.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Process |
Processes the specified promise.
|
![]() | Reject |
Rejects the promise.
|
![]() | RejectAsync |
Rejects the promise asynchronously.
|
![]() ![]() | RejectNow(Exception) |
Creates a promise and rejects it immediately.
|
![]() ![]() | RejectNowR(Exception) |
Creates a promise and rejects it immediately.
|
![]() | Resolve |
Resolves the promise.
|
![]() | ResolveAsync |
Resolves the promise asynchronously.
|
![]() ![]() | ResolveNow |
Creates a promise and resolves it immediately
using a null result value.
|
![]() ![]() | ResolveNowR(R) |
Creates a promise and resolves it immediately
using the given result value.
|
![]() | Then(Action1T) |
Appends a handler to be executed when the promise is resolved.
(Inherited from FutureT.) |
![]() | Then(Action1T, Action1Exception) |
Appends handlers to be executed when the promise is resolved or rejected.
(Inherited from FutureT.) |
![]() | ThenR(Function1T, FutureR) |
Appends a handler to be executed when the promise is resolved.
(Inherited from FutureT.) |
![]() | ThenR(Function1T, FutureR, Action1Exception) |
Appends handlers to be executed when the promise is resolved or rejected.
(Inherited from FutureT.) |
![]() | ToString | (Inherited from Object.) |
![]() | WaitForPromise |
Blocks the current thread from proceeding
until the future state has been resolved or rejected.
(Inherited from FutureT.) |
![]() | WaitForResult |
Blocks the current thread from proceeding
until the future has a result. Throws an
exception if the promise is rejected.
(Inherited from FutureT.) |
![]() ![]() | WrapPromiseR |
Creates a promise and resolves it using the result from a
callback function, or rejects it if an exception is thrown.
|
Name | Description | |
---|---|---|
![]() | AsTaskT |
Converts a Future to a .NET Task.
(Defined by FutureExtensions.) |