def published
import bendvy-ecs-core@0.1.0.4/owned_event_family_storage.bend as OwnedEventFamilyStorageimport Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
28def published(~S:Data,~C:Type,~R:Type,~E:Data,~inject:Nat -> E,result:W.World<S,C,R,E> & List<&2,Nat>) -> W.World<S,C,R,E>:
29 match result:
30 case (world,ids):W.event_publish(~S,~C,~R,~E,world,injected(~E,~inject,ids))