def publish_ids

bendvy-ecs-core@0.1.0.4 · owned_event_storage.bend:31

import bendvy-ecs-core@0.1.0.4/owned_event_storage.bend as OwnedEventStorage
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W

31def publish_ids(~S:Data,~C:Type,~R:Type,~P:Type,result:World(~S,~C,~R,~P) & List<&2,Nat>) -> World(~S,~C,~R,~P):
32  match result:
33    case (world,ids):W.event_publish(~S,~C,~Resources<R,P>,~Nat,world,ids)

Uses (7)

Used by (1)