Structural.tx_remove_observed: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/structural.bend as Structural Lines 76-83 of bendvy-ecs-core@0.1.0.4/structural.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/structural.bend&start_line=76&end_line=83 import Base import bendvy-ecs-core@0.1.0.4/column.bend as Col import bendvy-ecs-core@0.1.0.4/component.bend as F import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/transaction.bend as T # Stage removal plus a Data notice callback. Immediate invalid-handle # refusal changes no queue. At the barrier a notice is published only when # replacement succeeds and a component owner was actually displaced. No # notice is emitted for absent/already-invalid targets; this does not return # the removed payload or invent finalization of user-owned resources. def tx_remove_observed(~S: Data,~Store: Type,~R: Type,~E: Data,~Rest: Type,~C: Type,~V: Data,~Token: Data,~take: Store -> Rest & Col.Column,~put: Rest -> Col.Column -> Store,~project: C -> C & V,~record: W.Handle -> E,family: F.Family,tx: T.Tx,E>,+handle: W.Handle) -> Queued,E>,C>: match tx: case T.Tx{world,undo,commands,events,trace}: removed_queue_join(~S,~Store,~R,~E,~Rest,~C,~V,~Token,~take,~put,~project,~record,family,W.valid(~S,~Store,~R,~E,world,handle),undo,commands,events,trace,handle,None{}) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/column.bend&name=Column https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/component.bend&name=Family https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/structural.bend&name=Queued https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/structural.bend&name=removed_queue_join 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/world.bend&name=Handle https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=valid