OrdinaryAppRelationSchedule.run: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_app_relation_schedule.bend as OrdinaryAppRelationSchedule Lines 80-84 of bendvy-ecs-core@0.1.0.4/ordinary_app_relation_schedule.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_relation_schedule.bend&start_line=80&end_line=84 import Base import bendvy-ecs-core@0.1.0.4/schedule_provision.bend as SP 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 import bendvy-ecs-core@0.1.0.4/ordinary_app_relation.bend as Relation import bendvy-ecs-core@0.1.0.4/ordinary_app_schedule.bend as Scheduled import bendvy-ecs-core@0.1.0.4/relation_failure_reader.bend as Ord import bendvy-ecs-core@0.1.0.4/ordinary_app_relation_system.bend as Registered # Run the attached relation schedule through its registered dispatcher and supplied # condition/provision adapters, retaining App in every result. Pending graph work # applies at explicit barriers; queue admission and structural application differ. def run(~S:Data,~C:Type,~R:Type,~E:Data,~declaration:Ord.Declaration,~target:W.Handle,~condition:Relation.World(~S,~C,~R,~E) -> U32 -> Relation.World(~S,~C,~R,~E) & Bool,~provision:Relation.World(~S,~C,~R,~E) -> Relation.World(~S,~C,~R,~E) & List<&2,SP.Requirement>,app:Application(~S,~C,~R,~E,~declaration,~target)) -> Scheduled.RunResult>: Scheduled.run(~S,~A.Store,~R,~A.Notice,~Registered.Owner(~S,~C,~R,~E,~declaration,~target),~Relation.View,~Relation.observe(~S,~C,~R,~E,~declaration,~Relation.builtin_row(~S)),~Registered.empty_fold(~S,~C,~R,~E,~declaration,~target),~Maybe<&2,Unit>,~Registered.dispatch(~S,~C,~R,~E,~declaration,~target),~condition,~provision,app) Uses (21): 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=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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/ordinary_app_relation.bend&name=View https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_relation.bend&name=World https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_relation.bend&name=builtin_row https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_relation.bend&name=observe https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_relation_schedule.bend&name=Application https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_relation_system.bend&name=Owner https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_relation_system.bend&name=dispatch https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_relation_system.bend&name=empty_fold https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_schedule.bend&name=RunResult https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_schedule.bend&name=run 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/relation_failure_reader.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/schedule_provision.bend&name=Requirement https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle