OrdinaryMachineDeclaration.availability: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_machine_declaration.bend as OrdinaryMachineDeclaration Lines 47-51 of bendvy-ecs-core@0.1.0.4/ordinary_machine_declaration.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_machine_declaration.bend&start_line=47&end_line=51 import Base import bendvy-ecs-core@0.1.0.4/machine.bend as M import bendvy-ecs-core@0.1.0.4/world.bend as W # Preflight consults the actual nominal slot and preserves the arbitrary World. def availability(~S:Data,~Token:Data,~V:Data,~C:Type,~R:Type,~E:Data,name:String,observed:W.World & M.Slot) -> W.World & List<&2,String>: match observed: case (world,M.Missing{}):(world,[name]) case (world,M.Present{_,_,_,_}):(world,[]) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=String https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine.bend&name=Slot https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World