def snapshot

bendvy-ecs-core@0.1.0.3 · machine.bend:94

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

94def snapshot(~S: Data,~M: Data,~V: Data,slot: Slot<S,M,V>) -> Snapshot<V>:
95  match slot:
96    case Missing{}: Unscheduled{}
97    case Present{_,pending,_,_}: snapshot_pending(~V,pending)

Uses (3)

Used by (0)

No other definition uses this definition.