(close!)
Unfortunately, clients must be responsible for closing the Crux node if they want to use the same REPL with the same underlying disk stores (ex. RocksDB). This is because Joplin cannot close the Crux node after every operation or the in-memory Crux node won't work.
This method exists as a convenience and living documentation.
Prefer (with-open (get-node conf))
wherever possible.
Unfortunately, clients must be responsible for closing the Crux node if they want to use the same REPL with the same underlying disk stores (ex. RocksDB). This is because Joplin cannot close the Crux node after every operation or the in-memory Crux node won't work. This method exists as a convenience and living documentation. Prefer `(with-open (get-node conf))` wherever possible.
(get-node conf)
NOTE: with-open
is not used within joplin.crux because it causes
RocksDB errors on a shared node. However, it should be used
everywhere else.
NOTE: `with-open` is not used within joplin.crux because it causes RocksDB errors on a shared node. However, it should be used everywhere else.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close