ExecutionGeneralizedRootApplication.build: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_generalized_root_application.bend as ExecutionGeneralizedRootApplication Lines 14-16 of bendvy-ecs-core@0.1.0.3/execution_generalized_root_application.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_generalized_root_application.bend&start_line=14&end_line=16 import Base import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as L 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_registration.bend as Reg import bendvy-ecs-core@0.1.0.3/dependency_plan.bend as Plan import bendvy-ecs-core@0.1.0.3/dependency_executor.bend as Exec import bendvy-ecs-core@0.1.0.3/execution_registry.bend as Registry import bendvy-ecs-core@0.1.0.3/execution_schedule.bend as Schedule import bendvy-ecs-core@0.1.0.3/execution_deferred_settings.bend as Settings def build(~S:Data,~components:L.Layout,~resources:L.Layout,~E:Data,~Nodes:Type,~Guards:Type,~Handler:Type,~Error:Data,~Out:Data,~dispatch:Nodes -> W.World -> U32 -> Nodes & (W.World & Exec.Invocation),~guardDispatch:Guards -> W.World -> U32 -> Guards & (W.World & Exec.Invocation),~available:String -> Bool,world:W.World,facts:Registry.Facts,Nodes,Error,Out,dispatch>>,guards:Reg.ConditionRegistry,Guards,Error,guardDispatch>,handler:Handler,edges:List<&2,Plan.Edge>,+bindings:List<&2,App.Binding>) -> Schedule.Scheduled,Nodes,Guards,Handler>>: match facts guards: case Registry.Facts{Reg.Registry{nodes,+planNodes},deferred} Reg.ConditionRegistry{Reg.Registry{guardOwners,+guardNodes},guardInvalid}:Schedule.create(~App.State,Nodes,Guards,Handler>,App.State{world,nodes,guardOwners,handler,bindings},App.checked_guards(App.checked_bindings(guardInvalid,Plan.build(~String,~available,guardNodes,[])),App.checked_bindings(App.valid_bindings(bindings,planNodes,guardNodes),Plan.build(~String,~available,planNodes,edges))),bindings,deferred,Settings.defaults(),[]) Uses (23): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_application.bend&name=Binding 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_application.bend&name=checked_bindings https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_application.bend&name=checked_guards https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_application.bend&name=valid_bindings https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_executor.bend&name=Invocation https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_plan.bend&name=Edge https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_plan.bend&name=build https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_registration.bend&name=ConditionRegistry https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_registration.bend&name=Registry 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=columns 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_deferred_settings.bend&name=defaults https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_registry.bend&name=Facts https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_schedule.bend&name=Scheduled https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_schedule.bend&name=create https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=World