Dispatches the given fuction to the current executor. If given a value, dispatches a function which when called applies f
to value
If the current executor is a ForkJoinPool, dispatches the function wrapped in a ForkJoinTask, otherwise it simply submits to the current executor service
Dispatches the given fuction to the current *executor*. If given a value, dispatches a function which when called applies `f` to `value` If the current executor is a ForkJoinPool, dispatches the function wrapped in a ForkJoinTask, otherwise it simply submits to the current executor service
(dispatch-all fs value)
Dispatches all functions in fs
to the current executor and value value
Dispatches all functions in `fs` to the current *executor* and value `value`
Same as dispatch. Except that, in a ForkJoinTask, uses ManagedBlocker
to tell the ForkJoinPool it might block. This allows the pool to make adjustments in order to ensure optimal thread liveness.
Same as dispatch. Except that, in a ForkJoinTask, uses `ManagedBlocker` to tell the ForkJoinPool it might block. This allows the pool to make adjustments in order to ensure optimal thread liveness.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close