Liking cljdoc? Tell your friends :D

com.wsscode.async.async-clj


<!cljmacro

(<! & body)

Same as clojure.core.async/<!!. Just a convenience place for it.

Same as clojure.core.async/<!!. Just a convenience place for it.
sourceraw docstring

<!!cljmacro

(<!! & body)

Same as clojure.core.async/<!!. Just a convenience place for it.

Same as clojure.core.async/<!!. Just a convenience place for it.
sourceraw docstring

<!!maybecljmacro

(<!!maybe x)

Like <!maybe but will block the thread.

Like <!maybe but will block the thread.
sourceraw docstring

<!maybecljmacro

(<!maybe x)

Reads a channel if it is a channel, if it's not a channel, return x.

Reads a channel if it is a channel, if it's not a channel, return x.
sourceraw docstring

<?cljmacro

(<? ch)

Reads a channel value and check if it is an error, in case it is, throw the error.

Reads a channel value and check if it is an error, in case it is, throw the error.
sourceraw docstring

<?!cljmacro

(<?! ch)

Reads a channel value and check if it is an error, in case it is, throw the error.

Reads a channel value and check if it is an error, in case it is, throw the error.
sourceraw docstring

<?!maybecljmacro

(<?!maybe x)

A combination of <!maybe and <?.

A combination of <!maybe and <?.
sourceraw docstring

<?maybecljmacro

(<?maybe x)

A combination of <!maybe and <?.

A combination of <!maybe and <?.
sourceraw docstring

chan?clj

(chan? c)

Check if c is a core.async channel.

Check if c is a core.async channel.
sourceraw docstring

error?clj

(error? err)

Returns true if err is an error object.

Returns true if err is an error object.
sourceraw docstring

gocljmacro

(go & body)

Same as clojure.core.async/go. Just a convenience place for it.

Same as clojure.core.async/go. Just a convenience place for it.
sourceraw docstring

go-catchcljmacro

(go-catch & body)

Creates a go block that has a try/catch wrapping body, in case of errors the error flows up as data instead triggering the exception.

Creates a go block that has a try/catch wrapping body, in case of errors the error
flows up as data instead triggering the exception.
sourceraw docstring

go-promisecljmacro

(go-promise & body)

Creates a go block using a promise channel, so the output of the go block can be read any number of times once ready.

Creates a go block using a promise channel, so the output of the go block can be
read any number of times once ready.
sourceraw docstring

let-chancljmacro

(let-chan [name value] & body)

Handles a possible channel on value.

Handles a possible channel on value.
sourceraw docstring

let-chan*cljmacro

(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

throw-errclj

(throw-err x)

Throw error x if x is an error.

Throw error x if x is an error.
sourceraw docstring

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

× close