Protected
Optional
_errorProtected
_resolvedProtected
Optional
_resultProtected
_stateProtected
_onShortcut for trapping a rejection.
Shortcut for trapping a rejection but will allow exceptions to propagate within the onRejected handler.
Will yield for a number of milliseconds from after this promise resolves. If the promise is already resolved, the delay will start from now.
A promise that yields to the current execution and executes after a delay.
Will yield for a number of milliseconds from the time called before continuing.
A promise that yields to the current execution and executes after a minimum delay.
.doneNow is provided as a non-standard means that synchronously resolves as the end of a promise chain. As stated by promisejs.org: 'then' is to 'done' as 'map' is to 'forEach'. It is the underlying method by which propagation occurs.
Optional
v: TOptional
onRejected: ((v?: any) => any)Optional
v: anyShortcut to for handling either resolve or reject.
Shortcut to for handling either resolve or reject but will allow exceptions to propagate within the handler.
Shortcut to for handling either resolve or reject. Returns the current promise instead. You may not need an additional promise result, and this will not create a new one.
Optional
synchronous: booleanProtected
getProtected
getProtected
getStandard .then method that defers execution until resolved.
Same as .then but doesn't trap errors. Exceptions may end up being fatal.
Calls the respective handlers once the promise is resolved.
Generated using TypeDoc
A promise that waits for the first then to trigger the resolver.