MachineQueue.conditional_pending_generic: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/machine_queue.bend as MachineQueue Lines 13-16 of bendvy-ecs-core@0.1.0.3/machine_queue.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/machine_queue.bend&start_line=13&end_line=16 import Base import bendvy-ecs-core@0.1.0.3/machine.bend as M def conditional_pending_generic(-V:Data,same:V -> V -> Bool,pending:M.Pending,+value:V) -> M.Pending: match pending: case M.Queued{+prior,False{}}:forced_pending_generic(V,same(prior,value),prior,value) case _:M.Queued{value,True{}} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/machine.bend&name=Pending https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/machine_queue.bend&name=forced_pending_generic