World.leave_run: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/world.bend as World Lines 87-90 of bendvy-ecs-core@0.1.0.4/world.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&start_line=87&end_line=90 import Base import bendvy-ecs-core@0.1.0.4/clock_state.bend as Clock # Exit an executed run on success or failure, preserving administrative progress. def leave_run(~S:Data,~C:Type,~R:Type,~E:Data,world:World) -> World: match world: case World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock}:World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,Clock.leave(clock)} Uses (2): https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/clock_state.bend&name=leave https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World