BundleBatch.remaining: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/bundle_batch.bend as BundleBatch Lines 70-73 of bendvy-ecs-core@0.1.0.4/bundle_batch.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/bundle_batch.bend&start_line=70&end_line=73 import Base import bendvy-ecs-core@0.1.0.4/deferred_command.bend as Deferred import transaction.bend as T def remaining(~World:Type,~E:Data,commands:List>,tx:T.Tx) -> T.Tx: match commands: case []: tx case command <> tail: remaining(~World,~E,tail,T.stage_command(~World,~E,tx,command)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/deferred_command.bend&name=Command https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Tx https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=stage_command