| IPromiseT Methods |
The IPromiseT generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Always | Callback to be executed when the promise completes regardless of whether an error occurred | |
| Cancel |
Cancel the operation
(Inherited from ICancelable.) | |
| Done(ActionObject) | Callback to be executed when the promise completes successfully (Inherited from IPromise.) | |
| Done(ActionT) | Callback to be executed when the promise completes successfully | |
| Fail | Callback to be executed when the promise encounters an error | |
| Progress | Callback to be executed when the reported progress changes |
| Name | Description | |
|---|---|---|
| CancelledT |
Attach a callback that runs when the promise is canceled
(Defined by Promises.) | |
| ContinueT, S |
Continue a promise chain by acting on the previous promise's result and returning a new promise
(Defined by Promises.) | |
| ConvertT, S(FuncT, S) | Overloaded.
Convert a promise using a simple transformation to go from one type to another
(Defined by Promises.) | |
| ConvertT, S(ActionT, PromiseS, ActionException, PromiseS) | Overloaded.
Convert a promise by modifying the done/fail logic in addition to transforming the type.
(Defined by Promises.) | |
| ErrorT |
Attach a callback that runs an error (other than a cancellation error) occurs
(Defined by Promises.) | |
| FailOverT | (Defined by Promises.) | |
| ToTaskT |
Convert a promise to a .Net 4.0 Task for use with the async/await keywords
(Defined by Promises.) | |
| WaitT |
Block the current thread waiting for a promise to complete
(Defined by Promises.) | |
| WithInvokerT |
Changes the invokation logic of the promise (e.g. to trigger invokation on the UI thread)
(Defined by Promises.) |