(chan->seq channel)
recursive function which derives a lazy sequence from a core.async channel, channel
.
Intended for use on main thread.
recursive function which derives a lazy sequence from a core.async channel, `channel`. Intended for use on main thread.
(fire! body)
execute 'body' on an asynchronous worker thread via a core.async channel. (fire! and forget)
execute 'body' on an asynchronous worker thread via a core.async channel. (fire! and forget)
(map-async f coll)
(map-async f n coll)
an asynchronous implementation of map
returns a lazy sequence of the asynchronous evaluation of f
applied to members of the collection coll
will block until all asynchronous evaluation completes.
Intended for use on main thread.
f
single-argument function
n
parallelization parameter
coll
collection applied to the function f
an asynchronous implementation of `map` returns a lazy sequence of the asynchronous evaluation of `f` applied to members of the collection `coll` will block until all asynchronous evaluation completes. Intended for use on main thread. `f` single-argument function `n` parallelization parameter `coll` collection applied to the function `f`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close