(<? 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 is a website building & hosting documentation for Clojure/Script libraries
× close