def register

bendvy-ecs-core@0.1.0.4 · system.bend:44

import bendvy-ecs-core@0.1.0.4/system.bend as System
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W

44# Register the closed runner in this World with name/access metadata.
45# Returns Registered or RegistrationFailed, retaining World on either path.
46# Raw access strings are metadata; actual body capabilities come from its
47# declared runner. Prefer ordinary-system or App registration for derived access.
48def register(~S: Data,~C: Type,~R: Type,~E: Data,~Args: Type,~Error: Data,~Output: Type,~runner: W.World<S,C,R,E> -> Args -> Outcome<W.World<S,C,R,E>,Error,Output>,world: W.World<S,C,R,E>,+name: String,+access: List<&2,String>) -> RegistrationResult<S,C,R,E,Args,Error,Output,runner>:
49  register_namespace(~S,~C,~R,~E,~Args,~Error,~Output,~runner,W.namespace(~S,~C,~R,~E,world),name,access)

Uses (7)

Used by (26)