(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 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 |