MachineStream.publish: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/machine_stream.bend as MachineStream Lines 13-15 of bendvy-ecs-core@0.1.0.4/machine_stream.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/machine_stream.bend&start_line=13&end_line=15 import Base import machine.bend as M import machine_stream_queue.bend as Q def publish(~V: Data,stream: Stream,tick: Nat,event: M.Transition) -> Stream: match stream: case Stream{queue,positions,frameStart}: Stream{Q.publish(~M.Transition,queue,tick,[event]),positions,frameStart} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine.bend&name=Transition https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_stream.bend&name=Stream https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_stream_queue.bend&name=publish