RestoreLifecycle.clean: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/restore_lifecycle.bend as RestoreLifecycle Lines 28-29 of bendvy-ecs-core@0.1.0.4/restore_lifecycle.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/restore_lifecycle.bend&start_line=28&end_line=29 import Base import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/restore_world.bend as Adapter import bendvy-ecs-core@0.1.0.4/restore_data.bend as R import bendvy-ecs-core@0.1.0.4/transaction.bend as T import bendvy-ecs-core@0.1.0.4/commands.bend as Cmd def clean(~S:Data,~C:Type,~Resources:Type,~E:Data,~clear:C -> W.Handle -> C & List<&2,R.Change>,~emit:R.Change -> E,handles:List<&2,W.Handle>,world:W.World) -> W.World: committed(~S,~C,~Resources,~E,Cmd.tx_finish(~S,~C,~Resources,~E,~Unit,queue(~S,~C,~Resources,~E,~clear,~emit,handles,T.begin(~W.World,~E,Adapter.cancel_pending(~S,~C,~Resources,~E,world))),T.Success{})) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/commands.bend&name=tx_finish https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_data.bend&name=Change https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_lifecycle.bend&name=committed https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_lifecycle.bend&name=queue https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_world.bend&name=cancel_pending https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=begin 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