DependencyExecutor.run: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/dependency_executor.bend as DependencyExecutor Lines 51-58 of bendvy-ecs-core@0.1.0.3/dependency_executor.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/dependency_executor.bend&start_line=51&end_line=58 import Base import bendvy-ecs-core@0.1.0.3/dependency_plan.bend as Plan # State contains the actual World, registration, argument, condition and handler # owners. Closed providers move that state and never duplicate runtime callbacks. # The ordered interpreter chooses one valid order; parallel execution may choose # any order permitted by dependencies and access conflicts. def run(~State:Type,~Requirement:Data,~Error:Data,~Out:Data,~condition:State -> U32 -> State & Condition,~dispatch:State -> U32 -> State & Invocation,~handler:State -> Error -> State & Handling,plan:Plan.Build,state:State) -> ExecutionResult: match plan: case Plan.Rejected{reason}:Invalid{state,reason} case Plan.Planned{order,_}:execute(~State,~Requirement,~Error,~Out,~condition,~dispatch,~handler,order,state,[]) Uses (9): 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=U32 https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_executor.bend&name=Condition 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/dependency_executor.bend&name=Handling 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_executor.bend&name=execute https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/dependency_plan.bend&name=Build