Attaches callbacks for the resolution and/or rejection of the Promise.
Optional
handle: ((value) => U | PromiseLike<U>)The callback to execute when the Promise is resolved.
Optional
onrejected: ((error) => G | PromiseLike<G>)The callback to execute when the Promise is rejected.
A Promise for the completion of which ever callback is executed.
Generated using TypeDoc
Like promise but lazy. It corresponds to a task that is activated when then method is called.