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)

<!pclj/smacro

(<!p promise)

<?clj/smacro

(<? ch)

<?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.
raw docstring

chan?cljs

(chan? c)

consumer-paircljs

(consumer-pair resp)

error?cljs

(error? err)

go-catchclj/smacro

(go-catch & body)

go-promiseclj/smacro

(go-promise & body)

if-cljsclj/smacro

(if-cljs then else)

let-chanclj/smacro

(let-chan [name value] & body)

Handles a possible channel on value.

Handles a possible channel on value.
raw 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
raw docstring

promise->chancljs

(promise->chan p)

promise?cljs

(promise? x)

throw-errcljs

(throw-err x)

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

× close