Memoization of the single value.
Memoization of the single value.
(get-another-ref cache ref)
Invalidates memoized ref and returns actual (probably new) ref from the cache.
Invalidates memoized ref and returns actual (probably new) ref from the cache.
(get-value cache)
Returns result of (deref (get-ref cache))
.
Returns result of `(deref (get-ref cache))`.
Functions for the cached computation.
Functions for the cached computation.
(get-ref cache)
Returns cached value reference to deref
.
Returns cached value reference to `deref`.
Cache related functions for the wrapped cached reference.
Cache related functions for the wrapped cached reference.
(evict ref)
Invalidates this reference in the cache. Returns nil.
Invalidates this reference in the cache. Returns nil.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close