def event_publish_nonempty

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

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

260def event_publish_nonempty(~S: Data,~C: Type,~R: Type,~E: Data,world: World<S,C,R,E>,+published: List<&2,E>) -> World<S,C,R,E>:
261  match world:
262    case World{+namespace,allocator,store,resource,+events,pending,+registrations,+nextSystemId,+clock,lifecycle}: World{namespace,allocator,store,resource,event_append(~E,events,published),pending,registrations,nextSystemId,clock,lifecycle}

Uses (3)

Used by (1)