(all _ values)
Convert an array of Promises, to a single array of values. Promise.all() resolves only after all the Promises in the array have resolved.
(reject _ failure)
Return (an immediately) rejected Promise.
(resolve _ value)
Return (an immediately) resolved Promise.
(catch _ callback)
Assign a callback when the Thenable rejects.
(then _ callback)
(then _ callback failure)
Assign callback functions called when the Thenable value either resolves, or is rejected.
(promise)
(promise val)