def inspect

bendvy-ecs-core@0.1.0.4 · event_runtime.bend:309

import bendvy-ecs-core@0.1.0.4/event_runtime.bend as EventRuntime
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W

309# Return Runtime and detached Snapshot without synchronization, trimming, frame
310# advance or reader acknowledgement. visible derives from batches after boundary;
311# retained is the actual World event log, so unsynchronized publications may differ.
312# Reader statuses follow reversed position order, not an inferred registry catalog.
313def inspect(~S: Data,~C: Type,~R: Type,~E: Data,runtime: Runtime<S,C,R,E>) -> Runtime<S,C,R,E> & Snapshot<E>:
314  match runtime:
315    case Runtime{world,+namespace,+batches,+positions,+nextReader,+tick,+frameStart,+boundary,+capacity,+dropped}: inspect_values(~S,~C,~R,~E,W.events_view(~S,~C,~R,~E,world),namespace,batches,positions,nextReader,tick,frameStart,boundary,capacity,dropped)

Uses (5)

Used by (1)