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.
(forkjoin-task executor f)(managed-blocker f)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |