ttl-cache-factory
function
clojure.core.cache/ttl-cache-factory
(ttl-cache-factory [base & {ttl :ttl, :or {ttl 2000}}])Returns a TTL cache with the cache and expiration-table initialized to `base` --
each with the same time-to-live.
This function also allows an optional `:ttl` argument that defines the default
time in milliseconds that entries are allowed to reside in the cache.
Examples
No examples yet. Be the first to add one!