Liking cljdoc? Tell your friends :D

virtuoso.v2

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.
raw docstring

-EXECUTORclj

source

-shutdown-hookclj

source

___clj

source

forcljmacro

(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.
sourceraw docstring

futurecljmacro

(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.
sourceraw docstring

mapclj

(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.
sourceraw docstring

pvaluescljmacro

(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.
sourceraw docstring

threadcljmacro

(thread & body)

Spawn and run a new virtual thread.

Spawn and run a new virtual thread.
sourceraw docstring

underefclj

(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.
sourceraw docstring

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

× close