A Promise/A+ compatible promise constructor, with additional functionality such as support for subclassing, helper methods on the constructor and extra instance methods. Read more.
An error constructor, instances of which are used as rejection reasons when a promise is cancelled. Read more.
Extends Error
. Instances of this class are used as rejection reasons when
a promise times out.
Read more.
Provides helper methods for delaying fulfillment and guarding against indefinitely pending promises or thenables. Read more.
Provides helper methods for orchestrating task execution. Read more.
Provides helper methods for functional composition. Read more.
If cancellable
is truey, cancellation is enabled for the object. Specify
propagationConstructor
to control the instances of promises returned by
calling object.then()
. Defaults to object.constructor
.
main