OrdinaryOptionalResourceSystem.registered: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_optional_resource_system.bend as OrdinaryOptionalResourceSystem Lines 16-19 of bendvy-ecs-core@0.1.0.4/ordinary_optional_resource_system.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_optional_resource_system.bend&start_line=16&end_line=19 import Base import bendvy-ecs-core@0.1.0.4/ordinary_resource_field_system.bend as Field import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/check.bend as K import bendvy-ecs-core@0.1.0.4/system.bend as Sys import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as Q def registered(~S:Data,~C:Type,~R:Type,~E:Data,~Args:Data,~Out:Type,~run:W.World -> Args -> Sys.Outcome,K.Error,Out>,~clauses:List<&2,Q.Clause>,result:Sys.RegistrationResult) -> Field.Defined,Sys.Registry,clauses>: match result: case Sys.RegistrationFailed{world}:Field.Rejected{world} case Sys.Registered{world,registry}:Field.Defined{world,Field.Owner{registry}} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/check.bend&name=Error https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend&name=Clause https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_resource_field_system.bend&name=Defined https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_resource_field_system.bend&name=Owner https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/system.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/system.bend&name=RegistrationResult https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/system.bend&name=Registry https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World