def leave_run

bendvy-ecs-core@0.1.0.3 · world.bend:89

import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base
import bendvy-ecs-core@0.1.0.3/clock_state.bend as Clock

89# Exit an executed run on success or failure, preserving administrative progress.
90def leave_run(~S:Data,~C:Type,~R:Type,~E:Data,world:World<S,C,R,E>) -> World<S,C,R,E>:
91  match world:
92    case World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,lifecycle}:World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,Clock.leave(clock),lifecycle}

Uses (2)

Used by (2)