IPromise Interface |
Namespace: Innovator.Client
The IPromise type exposes the following members.
Name | Description | |
---|---|---|
IsRejected | Whether an error occurred causing the promise to be rejected | |
IsResolved | Whether the promise completed successfully | |
PercentComplete | The progress of the promise represented as an integer from 0 to 100 | |
Value | The result of the promise. Only valid if IsResolved is true |
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 | 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 |