def dispatch

bendvy-ecs-core@0.1.0.4 · ordinary_app_service.bend:59

import bendvy-ecs-core@0.1.0.4/ordinary_app_service.bend as OrdinaryAppService
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/system.bend as Sys

59# Advanced single-registry adapter invoking tracked system execution. The supplied
60# id argument is unused here: registry validation comes from Sys.run, and
61# registration rejection is represented as Sys.Failed(Unit).
62def dispatch(~S:Data,~C:Type,~R:Type,~E:Data,~runner:W.World<S,C,R,E> -> Unit -> Sys.Outcome<W.World<S,C,R,E>,Unit,Unit>,owner:Sys.Registry<S,C,R,E,Unit,Unit,Unit,runner>,world:W.World<S,C,R,E>,_:U32) -> Sys.Registry<S,C,R,E,Unit,Unit,Unit,runner> & Sys.Outcome<W.World<S,C,R,E>,Unit,Unit>:
63  dispatched(~S,~C,~R,~E,~runner,Sys.run(~S,~C,~R,~E,~Unit,~Unit,~Unit,~runner,owner,world,Unit{}))

Uses (8)

Used by (1)