def Entry.expires

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

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

40def Entry.expires(-V: Data, e: Entry<V>) -> Nat:
41  match e:
42    case Hit{v, x, t}:
43      t
44    case Miss{t}:
45      t

Uses (2)

Used by (1)