def run

bendvy-ecs-core@0.1.0.3 · dependency_application.bend:84

import bendvy-ecs-core@0.1.0.3/dependency_application.bend as DependencyApplication
import Base
import bendvy-ecs-core@0.1.0.3/dependency_executor.bend as Exec

84def run(~World:Type,~Owners:Type,~Guards:Type,~Handler:Type,~Error:Data,~Out:Data,~dispatch:Owners -> World -> U32 -> Owners & (World & Exec.Invocation<Error,Out>),~guardDispatch:Guards -> World -> U32 -> Guards & (World & Exec.Invocation<Error,Bool>),~handle:Handler -> Error -> Handler & Exec.Handling,app:Application<World,Owners,Guards,Handler,Error,Out,dispatch,guardDispatch,handle>) -> Application<World,Owners,Guards,Handler,Error,Out,dispatch,guardDispatch,handle> & Report<Error,Out>:
85  match app:
86    case Application{state,+plan,+bindings}:returned(~World,~Owners,~Guards,~Handler,~Error,~Out,~dispatch,~guardDispatch,~handle,Exec.run(~State<World,Owners,Guards,Handler>,~String,~Error,~Out,~condition_state(~World,~Owners,~Guards,~Handler,~Error,~Out,~dispatch,~guardDispatch,~handle),~dispatch_state(~World,~Owners,~Guards,~Handler,~Error,~Out,~dispatch,~guardDispatch,~handle),~handle_state(~World,~Owners,~Guards,~Handler,~Error,~Out,~dispatch,~guardDispatch,~handle),plan,state),plan,bindings)

Uses (14)

Used by (0)

No other definition uses this definition.