(async-cache options)
(async-loading-cache options f)
(cache options)
(-get c k)
(-get c k f)
Retrieves value from cache under k
, if f
is supplied it will be used to compute a missing value
Retrieves value from cache under `k`, if `f` is supplied it will be used to compute a missing value
(-put! c k x)
Sets new value x
on cache c
for key k
Sets new value `x` on cache `c` for key `k`
(loading-cache options f)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close