val cps_create : f:((_, _) t ‑> 'b) ‑> 'b with_init_args
cps_create
is given in CPS form to enable chaining.
see Cache.Strategy.cps_create for more information.
val replace : ('k, 'v) t ‑> key:'k ‑> data:'v ‑> unit
replace store ~key ~data
associated the data
to key
; remove any
previously existing binding.
val find : ('k, 'v) t ‑> 'k ‑> 'v option
find store key
returns the value associated to key
in store
.