ExecutionSaveMetadata.capture: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_save_metadata.bend as ExecutionSaveMetadata Lines 41-45 of bendvy-ecs-core@0.1.0.3/execution_save_metadata.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_metadata.bend&start_line=41&end_line=45 import Base import bendvy-ecs-core@0.1.0.3/world.bend as W # Detached metadata accompanies field export. It is not a restored namespace or # a checkpoint of live reader/system owners; restore must remap those identities. def capture(~S:Data,~C:Type,~R:Type,~E:Data,world:W.World) -> W.World & Metadata: match world: case W.World{namespace,actual,store,resource,events,pending,registrations,nextSystemId,clock,journal}:captured_allocator(~S,~C,~R,~E,namespace,store,resource,events,pending,registrations,nextSystemId,clock,journal,allocator(actual)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_metadata.bend&name=Metadata https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_metadata.bend&name=allocator https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_metadata.bend&name=captured_allocator https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=World