def published

bendvy-ecs-core@0.1.0.3 · execution_generalized_command_leaf.bend:75

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_retained_system.bend as Retained
import bendvy-ecs-core@0.1.0.3/world.bend as W

75def published(~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),result:Compilation(~S,~components,~resources,~route,~Ops) & (W.World<S,L.columns(~S,components),L.resources(~S,resources),E> & Owner(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body))) -> W.World<S,L.columns(~S,components),L.resources(~S,resources),E> & Node(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body):
76  match result:
77    case (compilation,(world,owner)):(world,Retained.pack(Compilation(~S,~components,~resources,~route,~Ops),Owner(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body),compilation,owner))

Uses (13)

Used by (1)