IPromiseLike represents objects that have a
then method complying with
the Promises/A+ specification.
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