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 delay.
Shortcut 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.
Standard .then method that defers execution until resolved.
Same as .then but doesn't trap errors. Exceptions may end up being fatal.
Generated using TypeDoc
Shortcut for trapping a rejection.