store/[org.clojure/clojure "1.8.0"] clj::clojure.core/ref-max-history

Official Documentation

Add notes
Arities
==================================================
   [ref]
   [ref n]

Docstring
==================================================
  Gets the max-history of a ref, or sets it and returns the ref

Source

(defn ref-max-history
  "Gets the max-history of a ref, or sets it and returns the ref"
  {:added "1.1"
   :static true}
  ([^clojure.lang.Ref ref]
    (.getMaxHistory ref))
  ([^clojure.lang.Ref ref n]
    (.setMaxHistory ref n)))

Uses on crossclj