def dispatch_unpacked
bendvy-ecs-core@0.1.0.3 · execution_generalized_command_leaf.bend:55
import bendvy-ecs-core@0.1.0.3/execution_generalized_command_leaf.bend as ExecutionGeneralizedCommandLeaf
import Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as L
import bendvy-ecs-core@0.1.0.3/execution_command_system.bend as Cmd
import bendvy-ecs-core@0.1.0.3/execution_system.bend as Sys
import bendvy-ecs-core@0.1.0.3/execution_retained_system.bend as Retained
import bendvy-ecs-core@0.1.0.3/dependency_executor.bend as Exec
import bendvy-ecs-core@0.1.0.3/world.bend as W
55def dispatch_unpacked(~S:Data,~components:L.Layout,~resources:L.Layout,~E:Data,~route:L.Route,~Ops:Data -> (Type -> Type) -> Type -> Type -> Type,~User:Type,~Error:Data,~Out:Data,~declaration:Cmd.Program(~S,~L.columns(~S,components),~L.resources(~S,resources),~components,~resources,~route,~Ops),~body:Cmd.Body(~S,~components,~resources,~route,~Ops,~User,~Error,~Out),~compiled:Compilation(~S,~components,~resources,~route,~Ops),node:Compilation(~S,~components,~resources,~route,~Ops) & Owner(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body),world:W.World<S,L.columns(~S,components),L.resources(~S,resources),E>,id:U32) -> Node(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body) & (W.World<S,L.columns(~S,components),L.resources(~S,resources),E> & Exec.Invocation<Error,Out>):
56 match node:
57 case (compilation,Cmd.Owner{Sys.Owner{namespace,+actual,name,access,cursor,local}}):dispatch_selected(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body,~compiled,Retained.pack(Compilation(~S,~components,~resources,~route,~Ops),Owner(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body),compilation,Cmd.Owner{Sys.Owner{namespace,actual,name,access,cursor,local}}),world,U32.is_eq(actual,id))