Queue.publish_nonempty: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/internal/relation_failures/queue.bend as Queue Lines 17-19 of bendvy-ecs-core@0.1.0.4/internal/relation_failures/queue.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/internal/relation_failures/queue.bend&start_line=17&end_line=19 import Base def publish_nonempty(~E: Data,queue: Queue,+tick: Nat,+items: List<&2,E>,+count: Nat) -> Queue: match queue: case Queue{front,back,size,dropped}: Queue{front,Batch{tick,count,items} <> back,Nat.add(size,count),dropped} 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=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/internal/relation_failures/queue.bend&name=Batch https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/internal/relation_failures/queue.bend&name=Queue