Component.tx_set: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/component.bend as Component Lines 331-339 of bendvy-ecs-core@0.1.0.4/component.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/component.bend&start_line=331&end_line=339 import Base import column.bend as Col import world.bend as W import transaction.bend as T # Write an actual possibly-affine Type payload into the current Tx World and # journal the old payload and stamp for rollback. Successful writes are visible # within this Tx immediately; finish decides commit versus inverse replay. Refusal # returns the incoming owner through WriteRejected. Ordinary rollback is not a # receipt returning every newly written payload; use explicit recovery APIs for that. def tx_set(~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,+family: Family,tx: T.Tx,E>,+handle: W.Handle,incoming: C) -> SetResult,E>,C>: match tx: case T.Tx{world,undo,commands,events,trace}: tx_set_fused(~S,~Store,~R,~E,~Rest,~C,~V,~Token,~take,~put,~project,family,handle,undo,commands,events,trace,stamped_allowed(~S,~Store,~R,~E,~Rest,~C,~V,~Token,~take,~put,~project,W.valid(~S,~Store,~R,~E,world,handle),handle,incoming)) Uses (10): 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/component.bend&name=SetResult https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/component.bend&name=stamped_allowed https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/component.bend&name=tx_set_fused 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