def Cache.start.fin

bend-kit-cache@0.3.0.0 · cache.bend:120

import bend-kit-cache@0.3.0.0/cache.bend as Cache
import Base
import bend-kit-collections@0.1.4.1/omap.bend as OMap

120def Cache.start.fin(~V: Data, p: Policy, slots: OMap.OMap<String, Slot<V>>, +key: String, at: Nat, r: Nat & Slot<V>) -> Ticket & Cache<V>:
121  (g, s) = r
122  (Ticket{key, g, at}, Cache.put(~V, p, slots, key, s))

Uses (10)

Used by (1)