def skip_namespace

bendvy-ecs-core@0.1.0.4 · relation_failure_runtime.bend:115

import bendvy-ecs-core@0.1.0.4/relation_failure_runtime.bend as RelationFailureRuntime
import Base
import internal/relation_failures/domains.bend as D
import world.bend as W
import system.bend as Sy
import event_runtime.bend as Ev

115def skip_namespace(~S: Data,~C: Type,~R: Type,~E: Data,~A: Type,~Error: Data,~O: Type,~runner: W.World<S,C,R,E> -> Input<S,E,A> -> Sy.Outcome<W.World<S,C,R,E>,Error,O>,same: Bool,world: W.World<S,C,R,E>,registry: Sy.Registry<S,C,R,E,Input<S,E,A>,Error,O,runner>,keys: List<&2,D.DescriptorKey<S>>,readerId:U32,domains: List<&2,D.Domain<S,E>>,positions: List<&2,Ev.Position>,tick: Nat,frameStart: Nat,boundary: Nat,capacity: Nat,+nextReader: U32) -> Runtime<S,C,R,E> & Reader<S,C,R,E,A,Error,O,runner>:
116  match same registry:
117    case False{} registry: (Runtime{world,domains,positions,tick,frameStart,boundary,capacity,nextReader},Reader{registry,keys,readerId})
118    case True{} Sy.Registry{+namespace,+id,+name,+access,+cursor}: skip_meta(~S,~C,~R,~E,~A,~Error,~O,~runner,W.registration_matches(~S,~C,~R,~E,world,id,name,access),Sy.Registry{namespace,id,name,access,cursor},keys,domains,positions,tick,frameStart,boundary,capacity,nextReader,readerId)

Uses (17)

Used by (1)