(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.
(with-node id & body)
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close