def Cache.invalidate

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

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