Memoize single value in the manually evicting cache.
Memoize single value in the manually evicting cache.
(memoize f)
Returns loading cache for the 0-arity function f
. The value can be evicted
manually using (evict ref)
.
Returns loading cache for the 0-arity function `f`. The value can be evicted manually using `(evict ref)`.
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 |