(<? expr)Expects expr to be a channel or ReadPort which produces a value or
js/Error, and returns values and throws errors
Expects `expr` to be a channel or ReadPort which produces a value or js/Error, and returns values and throws errors
(promise-> promise & body)Takes thenable functions as arguments (i.e. functions returning a JS/Promise) and chains them,
taking care of error handling
Example:
(promise-> (thenable-1)
(thenable-2))
Takes `thenable` functions as arguments (i.e. functions returning a JS/Promise) and chains them,
taking care of error handling
Example:
(promise-> (thenable-1)
(thenable-2))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 |