Liking cljdoc? Tell your friends :D

cutty-sark.async-utils


<!!*clj

(<!!* channels timeout)

Synchronizes over a sequence of channels and returns a vector of result from each channel. If one of the channels times out, result will be nil.

Synchronizes over a sequence of channels and
returns a vector of result from each channel.
If one of the channels times out, result will be nil.
sourceraw docstring

<!!?cljmacro

(<!!? c)

Version of <!! that throw Exceptions that come out of any of the channels.

Version of <!! that throw Exceptions that come out of any of the channels.
sourceraw docstring

<!*clj

(<!* channels)

Synchronizes over a sequence of channels and returns a vector of result from each channel.

Synchronizes over a sequence of channels and
returns a vector of result from each channel.
sourceraw docstring

<?cljmacro

(<? c)

Version of <! that throw Exceptions that come out of a channel.

Version of <! that throw Exceptions that come out of a channel.
sourceraw docstring

<some!clj

(<some! channels timeout)

Gets ready values from list of channels before timeout is reached. Even if some channel times out, others will make it to the result.

Gets ready values from list of channels before timeout is reached.
Even if some channel times out, others will make it to the result.
sourceraw docstring

<some!!clj

(<some!! channels timeout)

Gets ready values from list of channels before timeout is reached. Even if some channel times out, others will make it to the result.

Gets ready values from list of channels before timeout is reached.
Even if some channel times out, others will make it to the result.
sourceraw docstring

go-letcljmacro

(go-let bindings & body)

Shorthand for (go (let [])

Shorthand for (go (let [])
sourceraw docstring

go-trycljmacro

(go-try & body)

Version of go that will catch all exceptions and return them as a channel result

Version of go that will catch all exceptions and return them as a channel result
sourceraw docstring

thread-trycljmacro

(thread-try & body)

Catches exceptions happening inside body and puts them in a channel as a result

Catches exceptions happening inside body and puts them in a channel as a result
sourceraw docstring

with-timeoutclj

(with-timeout channel timeout)

Wraps channel so it will return either a value or a ::timeout after certain time passes

Wraps channel so it will return either a value or a ::timeout after certain time passes
sourceraw docstring

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

× close