def events_view

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

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

272# Return World and its copied Data event list without consuming or acknowledging
273# reader positions. Affine Type event logs use their separate resource ownership.
274def events_view(~S: Data,~C: Type,~R: Type,~E: Data,world: World<S,C,R,E>) -> World<S,C,R,E> & List<&2,E>:
275  match world:
276    case World{+namespace,allocator,store,resource,+events,pending,+registrations,+nextSystemId,+clock,lifecycle}: (World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,lifecycle},events)

Uses (4)

Used by (0)

No other definition uses this definition.