Liking cljdoc? Tell your friends :D

com.xadecimal.async-style

Definitions: async: asynchronously running on the async-pool, await and others will park, use it for polling and small compute tasks blocking: asynchronously running on the blocking-pool, use it for running blocking operations and blocking io compute: asynchronously running on the compute-pool, use it for running heavy computation, don't block it settle(d): when a channel is delivered a value and closed, or in the case of a promise-chan, it means the promise-chan was fulfilled and will forever return the same value every time it is taken for and additional puts are ignored. fulfill(ed): when a channel is delivered a value, but not necessarily closed join(ed): when a channel returns a channel, joining is the process of further taking from the returned channel until a value is returned, thus unrolling a channel of channel of channel of ... async-pool: the core.async go block executor, it is fixed size, defaulting to 8 threads, don't soft or hard block it blocking-pool: the core.async thread block executor, it is caching, unbounded and not pre-allocated, use it for blocking operations and blocking io compute-pool: the clojure.core Agent pooledExecutor, it is fixed size bounded to cpu cores + 2 and pre-allocated, use it for heavy computation, don't block it

Definitions:
async: asynchronously running on the async-pool, await and others will park, use it for polling and small compute tasks
blocking: asynchronously running on the blocking-pool, use it for running blocking operations and blocking io
compute: asynchronously running on the compute-pool, use it for running heavy computation, don't block it
settle(d): when a channel is delivered a value and closed, or in the case of a promise-chan, it means the promise-chan was fulfilled and will forever return the same value every time it is taken for and additional puts are ignored.
fulfill(ed): when a channel is delivered a value, but not necessarily closed
join(ed): when a channel returns a channel, joining is the process of further taking from the returned channel until a value is returned, thus unrolling a channel of channel of channel of ...
async-pool: the core.async go block executor, it is fixed size, defaulting to 8 threads, don't soft or hard block it
blocking-pool: the core.async thread block executor, it is caching, unbounded and not pre-allocated, use it for blocking operations and blocking io
compute-pool: the clojure.core Agent pooledExecutor, it is fixed size bounded to cpu cores + 2 and pre-allocated, use it for heavy computation, don't block it
raw docstring

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

× close