def Cache.evict
import bend-kit-cache@0.3.0.0/cache.bend as Cacheimport Base
140# Drops key's entry. Its generations stay, so stale fetches stay stale.
141def Cache.evict(~V: Data, c: Cache<V>, +key: String) -> Cache<V>:
142 Cache{p, +slots} = c
143 Cache.put(~V, p, slots, key, Slot.evict(V, Cache.slot(~V, slots, key)))
Uses (5)
Used by (0)
No other definition uses this definition.