def Cache.invalidate
import bend-kit-cache@0.3.0.0/cache.bend as Cacheimport Base
135# Drops key's entry and voids its fetches in flight.
136def Cache.invalidate(~V: Data, c: Cache<V>, +key: String) -> Cache<V>:
137 Cache{p, +slots} = c
138 Cache.put(~V, p, slots, key, Slot.invalidate(V, Cache.slot(~V, slots, key)))
Uses (5)
Used by (0)
No other definition uses this definition.