Skip to main content

ensure

functionv1.0

clojure.core/ensure

Available in:BBCLJ
(ensure [ref])
Must be called in a transaction. Protects the ref from modification by other transactions. Returns the in-transaction-value of ref. Allows for more concurrency than (ref-set ref @ref)

No examples yet. Be the first to add one!