def Cache.put

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

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
import bend-kit-collections@0.1.4.1/order.bend as Order

112def Cache.put(~V: Data, p: Policy, slots: OMap.OMap<String, Slot<V>>, +key: String, +s: Slot<V>) -> Cache<V>:
113  Cache{p, OMap.OMap.put(~String, ~Slot<V>, ~Order.string, slots, key, s)}

Uses (7)

Used by (4)