def Slot.evict

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

import bend-kit-cache@0.3.0.0/cache.bend as Cache
import Base

98# Drops the entry. The generations stay, so no fetch that was stale before is accepted after.
99def Slot.evict(-V: Data, s: Slot<V>) -> Slot<V>:
100  Slot{n, f, m} = s
101  Slot{n, f, None{}}

Uses (2)

Used by (1)