def maintain_lifecycle

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

import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base
import bendvy-ecs-core@0.1.0.3/execution_lifecycle_notices.bend as Notice

396# Bevy ad678262 bevy_app/sub_app.rs runs the schedule before clear_trackers.
397# The public completed App boundary owns this call, including handled errors;
398# bare system invocations and barriers preserve the current retention window.
399def maintain_lifecycle(~S:Data,~C:Type,~R:Type,~E:Data,world:World<S,C,R,E>) -> World<S,C,R,E>:
400  match world:
401    case World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,lifecycle}:World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,Notice.maintain(~S,lifecycle)}

Uses (2)

Used by (1)