Home > @cjh1/sfapi > CancelablePromise
Signature:
export declare class CancelablePromise<T> implements Promise<T>
Implements: Promise<T>
Constructor | Modifiers | Description |
---|---|---|
(constructor)(executor) | Constructs a new instance of the CancelablePromise class |
Property | Modifiers | Type | Description |
---|---|---|---|
[Symbol.toStringTag] | readonly |
string | |
isCancelled | readonly |
boolean |
Method | Modifiers | Description |
---|---|---|
cancel() | ||
catch(onRejected) | ||
finally(onFinally) | ||
then(onFulfilled, onRejected) |