Methods
(static) deferred() → {DeferredPromise}
- Source:
- Tutorials:
Creates a deferred promise using a native Promise.
Returns:
- Type
- DeferredPromise
Type Definitions
DeferredPromise
- Source:
- Tutorials:
Properties:
| Name | Type | Description |
|---|---|---|
promise |
Promise | The deferred promise. |
resolve |
function | The function to resolve the promise. |
reject |
function | The function to reject the promise. |