def snapshot

bendvy-ecs-core@0.1.0.4 · machine.bend:82

import bendvy-ecs-core@0.1.0.4/machine.bend as Machine
import Base

82def snapshot(~S: Data,~M: Data,~V: Data,slot: Slot<S,M,V>) -> Snapshot<V>:
83  match slot:
84    case Missing{}: Unscheduled{}
85    case Present{_,pending,_,_}: snapshot_pending(~V,pending)

Uses (3)

Used by (2)