def register_meta
bendvy-ecs-core@0.1.0.4 · system.bend:31
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
31def register_meta(~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>,result: W.Registration,+namespace: U32,+name: String,+access: List<&2,String>) -> RegistrationResult<S,C,R,E,Args,Error,Output,runner>:
32 match result:
33 case W.RegistrationRejected{_}: RegistrationFailed{world}
34 case W.Registered{id}: Registered{world,Registry{namespace,id,name,access,None{}}}