LifetimeScopeWorldSpawn.assigned: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/lifetime_scope_world_spawn.bend as LifetimeScopeWorldSpawn Lines 10-14 of bendvy-ecs-core@0.1.0.4/lifetime_scope_world_spawn.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/lifetime_scope_world_spawn.bend&start_line=10&end_line=14 import Base import bendvy-ecs-core@0.1.0.4/commands.bend as Cmd import bendvy-ecs-core@0.1.0.4/lifetime_scope.bend as Sc import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/relation_commands.bend as A # Ordinary population receives the same full World context as Cmd.tx_spawn. # Membership is assigned only after successful activation and population. def assigned(~S:Data,~C:Type,~R:Type,~E:Data,seen:W.World>,R,A.Notice> & Unit) -> W.World>,R,A.Notice>: match seen: case (world,_):world Uses (7): 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=Unit https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/lifetime_scope.bend&name=Store https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Notice https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Store https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World