Liking cljdoc? Tell your friends :D

strojure.memoize-one.core

Memoization of the single value.

Memoization of the single value.
raw docstring

get-another-refclj

(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.
sourceraw docstring

get-valueclj

(get-value cache)

Returns result of (deref (get-ref cache)).

Returns result of `(deref (get-ref cache))`.
sourceraw docstring

LoadingCachecljprotocol

Functions for the cached computation.

Functions for the cached computation.

get-refclj

(get-ref cache)

Returns cached value reference to deref.

Returns cached value reference to `deref`.
sourceraw docstring

MemoizedRefcljprotocol

Cache related functions for the wrapped cached reference.

Cache related functions for the wrapped cached reference.

evictclj

(evict ref)

Invalidates this reference in the cache. Returns nil.

Invalidates this reference in the cache. Returns nil.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close