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