Current_cache.Output
Publish outputs with caching.
module P : S.PUBLISHER
val set : ?schedule:Schedule.t -> P.t -> P.Key.t -> P.Value.t -> P.Outcome.t Current.Primitive.t
set p k v is a term for the result of setting k to v.
set p k v
k
v
val reset : db:bool -> unit
reset ~db clears the cache. Useful for unit-tests.
reset ~db
Also clear from the on-disk database table.