def Cache.evict

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

import bend-kit-cache@0.3.0.0/cache.bend as Cache
import 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.