def snapshot

bendvy-ecs-core@0.1.0.3 · execution_event_family.bend:112

import bendvy-ecs-core@0.1.0.3/execution_event_family.bend as ExecutionEventFamily
import Base
import bendvy-ecs-core@0.1.0.3/owned_event_log.bend as Log

112def snapshot(~S:Data,~P:Type,~key:String,family:Family<S,P,key>) -> Family<S,P,key> & Snapshot:
113  match family:
114    case Family{+identity,+open,Log.Log{+next,rows},+previous,+current,+nextReader,+active,+dropped}:(Family{identity,open,Log.Log{next,rows},previous,current,nextReader,active,dropped},Snapshot{identity,open,next,previous,current,nextReader,active,dropped})

Uses (6)

Used by (0)

No other definition uses this definition.