Liking cljdoc? Tell your friends :D

com.wsscode.common.async-cljs

DEPRECATED: please use com.wsscode.async.async-cljs instead

DEPRECATED: please use com.wsscode.async.async-cljs instead
raw docstring

<!maybeclj/smacro

(<!maybe x)
source

<!pclj/smacro

(<!p promise)
source

<?clj/smacro

(<? ch)
source

<?maybeclj/smacro

(<?maybe x)

Tries to await for a value, first if checks if x is a channel, if so will read on it; then it checks if it's a JS promise, if so will convert it to a channel and read from it. Otherwise returns x as is.

Tries to await for a value, first if checks if x is a channel, if so will read
on it; then it checks if it's a JS promise, if so will convert it to a channel
and read from it. Otherwise returns x as is.
sourceraw docstring

chan?cljs

(chan? c)
source

consumer-paircljs

(consumer-pair resp)
source

error?cljs

(error? err)
source

go-catchclj/smacro

(go-catch & body)
source

go-promiseclj/smacro

(go-promise & body)
source

if-cljsclj/smacro

(if-cljs then else)
source

let-chanclj/smacro

(let-chan [name value] & body)

Handles a possible channel on value.

Handles a possible channel on value.
sourceraw docstring

let-chan*clj/smacro

(let-chan* [name value] & body)

Like let-chan, but async errors will be returned instead of propagated

Like let-chan, but async errors will be returned instead of propagated
sourceraw docstring

promise->chancljs

(promise->chan p)
source

promise?cljs

(promise? x)
source

throw-errcljs

(throw-err x)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close