OrdinaryServiceDeclaration.available_next: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend as OrdinaryServiceDeclaration Lines 77-80 of bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend&start_line=77&end_line=80 import Base import bendvy-ecs-core@0.1.0.4/schedule_provision.bend as SP def available_next(~S:Data,provided:Bool,id:U32,rest:List<&2,SP.Requirement>) -> List<&2,SP.Requirement>: match provided: case False{}:rest case True{}:SP.Service{id} <> rest Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/schedule_provision.bend&name=Requirement