OrdinaryAppRun.run: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_app_run.bend as OrdinaryAppRun Lines 100-107 of bendvy-ecs-core@0.1.0.4/ordinary_app_run.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_run.bend&start_line=100&end_line=107 import Base import bendvy-ecs-core@0.1.0.4/ordinary_app_execution.bend as Execute import bendvy-ecs-core@0.1.0.4/ordinary_app_registration_fields.bend as Records import bendvy-ecs-core@0.1.0.4/ordinary_app_observation_data.bend as DTO import bendvy-ecs-core@0.1.0.4/execution_context.bend as Ctx import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/system.bend as Sys import bendvy-ecs-core@0.1.0.4/schedule_provision.bend as SP # Execute one pass of the declaration-derived schedule with all systems # eligible; returns Execute.Run with a retained App on every result variant # (Finished, Failed, Rejected or Missing) plus a detached trace batch. # Earlier successful systems remain committed if a later system fails. # Deferred commands remain pending until an explicit schedule barrier. # Example: examples/scheduled-health/application.bend, ticks(). def run(~S:Data,~C:Type,~R:Type,~E:Data,~H:Type,~Rows:Data,~observe:W.World -> W.World & DTO.Observation,~fold:H -> H & List<&2,Records.Fields>,~Error:Data,~plan:H -> H & SP.Plan,~dispatch:H -> Ctx.Context> -> U32 -> H & Sys.Outcome>,Error,Unit>,~provide:W.World -> W.World & List<&2,SP.Requirement>,value:Application) -> Execute.Run,S,Error>: run_when(~S,~C,~R,~E,~H,~Rows,~observe,~fold,~Error,~plan,~dispatch,~provide,~always(~W.World),value) Uses (15): 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=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/execution_context.bend&name=Context https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_execution.bend&name=Run https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_observation_data.bend&name=Observation https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_registration_fields.bend&name=Fields https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_run.bend&name=Application https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_run.bend&name=always https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_run.bend&name=run_when https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/schedule_provision.bend&name=Plan 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/system.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World