def registered_context

bendvy-ecs-core@0.1.0.4 · ordinary_reader_stream_parameter.bend:63

import bendvy-ecs-core@0.1.0.4/ordinary_reader_stream_parameter.bend as OrdinaryReaderStreamParameter
import Base
import bendvy-ecs-core@0.1.0.4/reader_parameter.bend as RP
import bendvy-ecs-core@0.1.0.4/world.bend as W

63def registered_context(~S:Data,~C:Type,~R:Type,~E:Data,
64  world:W.World<S,C,R,E>,facts:RP.RegistrationFacts) -> W.World<S,C,R,E> & Bool:
65  match facts:
66    case RP.RegistrationFacts{namespace,id,name,access}:
67      registered_context_named(~S,~C,~R,~E,id,name,access,namespace,
68        W.namespace(~S,~C,~R,~E,world))

Uses (6)

Used by (3)