(<!!* 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.
(<!!? 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.
(<!* 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.
(<? c)
Version of <! that throw Exceptions that come out of a channel.
Version of <! that throw Exceptions that come out of a channel.
(<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.
(<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.
(go-let bindings & body)
Shorthand for (go (let [])
Shorthand for (go (let [])
(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
(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
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close