Cache.Cache.complete: def of bend-kit-cache@0.3.0.0 Import: import bend-kit-cache@0.3.0.0/cache.bend as Cache Lines 129-133 of bend-kit-cache@0.3.0.0/cache.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-cache@0.3.0.0/cache.bend&start_line=129&end_line=133 import Base # Stores what the ticket's fetch found. A stale ticket changes nothing. def Cache.complete(~V: Data, c: Cache, t: Ticket, r: Found) -> Cache: Cache{+p, +slots} = c Ticket{+key, g, at} = t Cache.put(~V, p, slots, key, Slot.complete(V, p, Cache.slot(~V, slots, key), g, at, r)) Uses (6): https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Cache https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Cache.put https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Cache.slot https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Found https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Slot.complete https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Ticket