A library of functions to enhance clojure.core.async.
A library of functions to enhance clojure.core.async.
(loop-until c f max)
Pulls results from a c
async channel and executes f
function against
the result. Stops if the f
function returns false/nil or the max
is
exceeded.
Pulls results from a `c` async channel and executes `f` function against the result. Stops if the `f` function returns false/nil or the `max` is exceeded. - c: A core.async channel. - f: Function applied to the value taken from the channel. If this function's return value is falsey, the loop exits. - max: The max number of loops to execute, regardless of f return value.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close