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.
(update-clock binding & body)
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close