sfapi-ts

Home > @cjh1/sfapi > CancelablePromise

CancelablePromise class

Signature:

export declare class CancelablePromise<T> implements Promise<T> 

Implements: Promise<T>

Constructors

Constructor Modifiers Description
(constructor)(executor)   Constructs a new instance of the CancelablePromise class

Properties

Property Modifiers Type Description
[Symbol.toStringTag] readonly string  
isCancelled readonly boolean  

Methods

Method Modifiers Description
cancel()    
catch(onRejected)    
finally(onFinally)    
then(onFulfilled, onRejected)