def registered
bendvy-ecs-core@0.1.0.4 · system_instance.bend:43
import bendvy-ecs-core@0.1.0.4/system_instance.bend as SystemInstance
import Base
import world.bend as W
import system.bend as Sys
43def registered(~S: Data,~C: Type,~R: Type,~E: Data,~Args: Type,~Error: Data,~Output: Type,~run: W.World<S,C,R,E> -> Args -> Sys.Outcome<W.World<S,C,R,E>,Error,Output>,~Ports: Type,~validate: Ports -> U32 -> U32 -> Ports & Bool,~remove: W.World<S,C,R,E> -> Ports -> W.World<S,C,R,E>,~create: U32 -> U32 -> W.World<S,C,R,E> -> W.World<S,C,R,E> & Ports,result: Sys.RegistrationResult<S,C,R,E,Args,Error,Output,run>) -> Registration<S,C,R,E,Args,Error,Output,run,Ports,validate,remove>:
44 match result:
45 case Sys.RegistrationFailed{world}: RegistrationFailed{world}
46 case Sys.Registered{world,registry}: namespaced(~S,~C,~R,~E,~Args,~Error,~Output,~run,~Ports,~validate,~remove,~create,registry,W.namespace(~S,~C,~R,~E,world))