def maintain_generic

bendvy-ecs-core@0.1.0.3 · execution_lifecycle_notices.bend:86

import bendvy-ecs-core@0.1.0.3/execution_lifecycle_notices.bend as ExecutionLifecycleNotices
import Base

86# Bevy ad678262: sub_app.rs update clears trackers after the schedule;
87# world/mod.rs clear_trackers updates removed-component messages. Only the
88# completed public App boundary calls this rotation; reads never rotate it.
89def maintain_generic(-S:Data,journal:Journal<S>) -> Journal<S>:
90  match journal:
91    case Journal{namespace,channels,nextReader,active}:Journal{namespace,rotate_channels_generic(S,channels),nextReader,active}

Uses (2)

Used by (1)