Liking cljdoc? Tell your friends :D

serum.async


<?cljmacro

(<? channel)
source

<??cljmacro

(<?? channel)
source

chan->seqclj

(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.
sourceraw docstring

fire!cljmacro

(fire! body)

execute 'body' on an asynchronous worker thread. (fire! and forget)

execute 'body' on an asynchronous worker thread.
(fire! and forget)
sourceraw docstring

map-asyncclj

(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`
sourceraw docstring

map-execclj

(map-exec f coll)
(map-exec f n coll)

an asynchronous implementation of map returns a vector 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. More efficient utilization of thread pool than map-async. Not fully lazy, however. f single-argument function n parallelization parameter coll collection applied to the function f

an asynchronous implementation of `map`
returns a vector 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. More efficient utilization of thread pool than `map-async`.
Not fully lazy, however.
`f` single-argument function
`n` parallelization parameter
`coll` collection applied to the function `f`
sourceraw docstring

throw-exceptionsclj

(throw-exceptions x)
source

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

× close