Attaches callbacks for the resolution and/or rejection of the promise.
See MDN: Promise.then.
The callback to execute when the promise is resolved.
The callback to execute when the promise is rejected.
A promise for the completion of which ever callback is executed.
Generated using TypeDoc
IPromiseLike
represents objects that have athen
method complying with the Promises/A+ specification.