Liking cljdoc? Tell your friends :D

schism.node


*current-node*clj/s

source

initialize-node!clj/s

(initialize-node!)
(initialize-node! id)

Initialize schism.node/*current-node* to the passed in value, or a new random UUID. While any serializable value suffices as the current node, it should be unique within the cluster; a repeated node value may result in incorrect behaviors during convergence.

Initialize `schism.node/*current-node*` to the passed in value,
or a new random UUID. While any serializable value suffices as the
current node, it should be unique within the cluster; a repeated
node value may result in incorrect behaviors during convergence.
sourceraw docstring

with-nodeclj/s≠macro

clj
(with-node id & body)
cljs
(with-node &form &env id & body)

Override the value of schism.node/*current-node* for the scope of body.

Override the value of `schism.node/*current-node*` for the scope of
`body`.
source (clj)source (cljs)raw docstring

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

× close