EventRuntime.frame: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/event_runtime.bend as EventRuntime Lines 102-107 of bendvy-ecs-core@0.1.0.4/event_runtime.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/event_runtime.bend&start_line=102&end_line=107 import Base # Advance frame markers and apply trim, returning actual Runtime/World. This # bounds normal visibility while preserving unread holds only within hard capacity. # Does not run a system, apply pending structural commands or acknowledge readers. def frame(~S: Data,~C: Type,~R: Type,~E: Data,runtime: Runtime) -> Runtime: match runtime: case Runtime{world,namespace,batches,positions,nextReader,+tick,+frameStart,_,capacity,dropped}: trim(~S,~C,~R,~E,Runtime{world,namespace,batches,positions,nextReader,tick,tick,frameStart,capacity,dropped}) Uses (2): https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/event_runtime.bend&name=Runtime https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/event_runtime.bend&name=trim