def Slot.invalidate
import bend-kit-cache@0.3.0.0/cache.bend as Cacheimport Base
93# Drops the entry and voids every fetch issued so far.
94def Slot.invalidate(-V: Data, s: Slot<V>) -> Slot<V>:
95 Slot{+n, f, m} = s
96 Slot{n, n, None{}}
import bend-kit-cache@0.3.0.0/cache.bend as Cacheimport Base
93# Drops the entry and voids every fetch issued so far.
94def Slot.invalidate(-V: Data, s: Slot<V>) -> Slot<V>:
95 Slot{+n, f, m} = s
96 Slot{n, n, None{}}