Cache.Cache.evict: def of bend-kit-cache@0.3.0.0 Import: import bend-kit-cache@0.3.0.0/cache.bend as Cache Lines 140-143 of bend-kit-cache@0.3.0.0/cache.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-cache@0.3.0.0/cache.bend&start_line=140&end_line=143 import Base # Drops key's entry. Its generations stay, so stale fetches stay stale. def Cache.evict(~V: Data, c: Cache, +key: String) -> Cache: Cache{p, +slots} = c Cache.put(~V, p, slots, key, Slot.evict(V, Cache.slot(~V, slots, key))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Cache https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Cache.put https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Cache.slot https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Slot.evict