(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.
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.
Return (an immediately) rejected Promise.
(resolve _ value)Return (an immediately) resolved Promise.
Return (an immediately) resolved Promise.
(catch _ callback)Assign a callback when the Thenable rejects.
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.
Assign callback functions called when the Thenable value either resolves, or is rejected.
(promise)(promise val)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |