Liking cljdoc? Tell your friends :D
Clojure only.

beam-x.parking-system


concur-parking!clj

(concur-parking! col)

Inputs: [col :- [t/Fn]] Returns: [s/Any]

The parking system aims to be a bit more lightweight than the threads option. This will use the clojure/core.async tools to resolve the results in a vector. Order not Guaranteed here. Allowing for possibly a lot larger collection of functions to be in-taken and backpressure will be guaranteed. However, bad fit for CPU intensive tasks.

Inputs: [col :- [t/Fn]]
Returns: [s/Any]

The parking system aims to be a bit more lightweight than the threads option.
This will use the clojure/core.async tools to resolve the results in a vector.
Order not Guaranteed here.
Allowing for possibly a lot larger collection of functions
to be in-taken and backpressure will be guaranteed.
However, bad fit for CPU intensive tasks.
sourceraw docstring

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

× close