A set of Clojure-like functions and macros that act using a global virtual executor.
A set of Clojure-like functions and macros that act using a global virtual executor.
(for seq-exprs body-expr)Like for but wraps each body expression into a virtual
future. Return a lazy sequence that derefs them when
iterating.
Like `for` but wraps each body expression into a virtual future. Return a lazy sequence that derefs them when iterating.
(future & body)Wraps an arbitrary block of code into a future bound to global virtual executor service.
Wraps an arbitrary block of code into a future bound to global virtual executor service.
(map f coll)(map f coll & colls)Like map but run each function in a virtual future.
Return a lazy sequence that derefs futures when
iterating.
Like `map` but run each function in a virtual future. Return a lazy sequence that derefs futures when iterating.
(pvalues & forms)Wrap each form into a virtual future and return a lazy sequence that, while iterating, derefs them.
Wrap each form into a virtual future and return a lazy sequence that, while iterating, derefs them.
(thread & body)Spawn and run a new virtual thread.
Spawn and run a new virtual thread.
(underef coll)A helper function that accepts a lazy sequence of futures and derefs items lazily one by one.
A helper function that accepts a lazy sequence of futures and derefs items lazily one by one.
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 |