ExecutionRelationFailureRetention.completed: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_relation_failure_retention.bend as ExecutionRelationFailureRetention Lines 107-114 of bendvy-ecs-core@0.1.0.3/execution_relation_failure_retention.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_relation_failure_retention.bend&start_line=107&end_line=114 import Base import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout import bendvy-ecs-core@0.1.0.3/world.bend as W import bendvy-ecs-core@0.1.0.3/dependency_application.bend as App import bendvy-ecs-core@0.1.0.3/dependency_executor.bend as Exec # This is an overall Root completion callback, after final deferred policy. # It rotates on Finished even with finalApply=false or an unchanged clock, and # never advances a Reader, graph cache, resource stamp, sequence or reader ID. def completed(~S:Data,~C:Type,~R:Type,~E:Data,~resources:Layout.Layout,~same:{R == Layout.resources(~S,resources) : Type},~Owners:Type,~Guards:Type,~Handler:Type,~Error:Data,~Out:Data,program:Program(~S,~resources),result:Exec.ExecutionResult,Owners,Guards,Handler>,String,Error,Out>) -> Exec.ExecutionResult,Owners,Guards,Handler>,String,Error,Out>: match result: case Exec.Finished{App.State{world,owners,guards,handler,bindings},events}:Exec.Finished{App.State{retained_world(~S,~C,~R,~E,~resources,~same,program,W.clock(~S,~C,~R,~E,world)),owners,guards,handler,bindings},events} case Exec.Stopped{state,error,events}:Exec.Stopped{state,error,events} case Exec.Invalid{state,reason}:Exec.Invalid{state,reason} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_application.bend&name=State https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_executor.bend&name=ExecutionResult https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend&name=Layout https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend&name=resources https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_relation_failure_retention.bend&name=Program https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_relation_failure_retention.bend&name=retained_world https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=clock