def register_available

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

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

42def register_available(~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>,runtime: Runtime<S,C,R,E>,+keys: List<&2,D.DescriptorKey<S>>,+name: String,+access: List<&2,String>) -> Registered<S,C,R,E,A,Error,O,runner>:
43  match runtime:
44    case Runtime{world,domains,positions,tick,frameStart,boundary,capacity,nextReader}: registered_result(~S,~C,~R,~E,~A,~Error,~O,~runner,Sy.register(~S,~C,~R,~E,~Input<S,E,A>,~Error,~O,~runner,world,name,access),keys,domains,positions,tick,frameStart,boundary,capacity,nextReader)

Uses (10)

Used by (1)