(memo-ttl f)
(memo-ttl f limit)
(memo-ttl f limit base)
DEPRECATED: Please use clojure.core.memoize/ttl instead.
Source
(def-deprecated ttl
"DEPRECATED: Please use clojure.core.memoize/ttl instead."
([f] (memo-ttl f 3000 {}))
([f limit] (memo-ttl f limit {}))
([f limit base]
(build-memoizer
#(PluggableMemoization. %1 (cache/ttl-cache-factory %3 :ttl %2))
f
limit
{})))