System.identity: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/system.bend as System Lines 104-109 of bendvy-ecs-core@0.1.0.4/system.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/system.bend&start_line=104&end_line=109 import Base import bendvy-ecs-core@0.1.0.4/world.bend as W # Instance identity is observed without consuming the registration owner. # Return Registry and its actual registration ID without consuming the owner. # IDs must still be validated with namespace/live metadata before execution. def identity(~S: Data,~C: Type,~R: Type,~E: Data,~Args: Type,~Error: Data,~Output: Type,~runner: W.World -> Args -> Outcome,Error,Output>,registry: Registry) -> Registry & U32: match registry: case Registry{namespace,+id,name,access,cursor}: (Registry{namespace,id,name,access,cursor},id) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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=Registry https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World