(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |