MachineStreamQueue.publish_checked_generic: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/machine_stream_queue.bend as MachineStreamQueue Lines 22-25 of bendvy-ecs-core@0.1.0.3/machine_stream_queue.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/machine_stream_queue.bend&start_line=22&end_line=25 import Base def publish_checked_generic(-E: Data,nonempty: Bool,queue: Queue,tick: Nat,items: List<&2,E>,count: Nat) -> Queue: match nonempty: case False{}: queue case True{}: publish_nonempty_generic(E,queue,tick,items,count) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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.3/machine_stream_queue.bend&name=Queue https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/machine_stream_queue.bend&name=publish_nonempty_generic