def Cache.start

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

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

124# Starts a fetch of key at clock `at`. Fetch upstream, then pass the ticket to complete.
125def Cache.start(~V: Data, c: Cache<V>, +key: String, at: Nat) -> Ticket & Cache<V>:
126  Cache{p, +slots} = c
127  Cache.start.fin(~V, p, slots, key, at, Slot.start(V, Cache.slot(~V, slots, key)))

Uses (8)

Used by (1)