Liking cljdoc? Tell your friends :D

schism.impl.vector-clock

Utility functions for working with the vector clock of a value that participates in the Vclocked protocol.

Utility functions for working with the vector clock of a value that
participates in the Vclocked protocol.
raw docstring

nowclj/s

(now)
source

update-clockclj/s≠macro

clj
(update-clock binding & body)
cljs
(update-clock &form &env binding & body)

Binds the current time to binding, executes body, then updates the body's return value which participates in schism.impl.protocols/Vclocked, so that the vector clock contains the same time bound to binding for the current node.

Binds the current time to `binding`, executes body, then updates
the body's return value which participates in
schism.impl.protocols/Vclocked, so that the vector clock contains the
same time bound to `binding` for the current node.
source (clj)source (cljs)raw docstring

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

× close