| Interface | Description |
|---|---|
| AcceptCallback<T> |
The callback function invoked when the promise is fulfilled.
|
| OnFulfilledCallback<T,V> |
The callback function invoked when the promise is fulfilled.
|
| OnRejectedCallback<V> |
The callback function invoked when the promise is rejected.
|
| OnSettledCallback |
The callback function invoked when the promise settles.
|
| PromiseExecutor<T> | |
| RejectCallbackFn | |
| ResolveCallbackFn<T> | |
| ResolveValue<T> |
| Class | Description |
|---|---|
| Promise<T> |
The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value.
|
The code drew heavy inspiration from the generated code in the elemental2-promise package
but was rewritten and merged with the output from a webtack experiment. The documentation was derived and/or
copied from the MDN website.