schedule.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/schedule.bend as Schedule
3 imports
import Base import ./world.bend as W import ./system.bend as Sys
Types
type Step source · line 10 · raw
Data
Static plans contain no runtime closures. H holds heterogeneous affine registered runner owners; closed templates thread that owner through each step. Detached static sequence: System holds a registered id and condition slot; Phase is an observation label and Barrier is an explicit pending-work boundary. A phase label alone does not flush commands or execute a gameplay callback.
System@id:U32 -> @condition:U32 -> Step
Phase@name:String -> Step
BarrierStep
type Observation source · line 16 · raw
Data
Ordered progress records for entered phases, dispatched/skipped systems and applied barriers. Ran includes a system that failed; inspect RunResult as well.
Entered@name:String -> Observation
Ran@id:U32 -> Observation
Skipped@id:U32 -> Observation
AppliedObservation
type Schedule source · line 23 · raw
@S:Data -> @C:Type -> @R:Type -> @E:Data -> @H:Type -> Type
Affine registered-owner bundle plus detached static steps and World namespace. Raw construction is trusted setup; build validates ids against its supplied catalog.
Schedule@S:Data -> @C:Type -> @R:Type -> @E:Data -> @H:Type -> @namespace:U32 -> @name:String -> @steps:List<&2, Step> -> @owners:H -> Schedule<S, C, R, E, H>
type Build source · line 27 · raw
@S:Data -> @C:Type -> @R:Type -> @E:Data -> @H:Type -> Type
Build result preserving the actual heterogeneous owners on invalid plans. Built retains those owners inside Schedule, not copied reusable runtime closures.
Built@S:Data -> @C:Type -> @R:Type -> @E:Data -> @H:Type -> @schedule:Schedule<S, C, R, E, H> -> Build<S, C, R, E, H>
Invalid@S:Data -> @C:Type -> @R:Type -> @E:Data -> @H:Type -> @owners:H -> Build<S, C, R, E, H>
type RunResult source · line 34 · raw
@S:Data -> @C:Type -> @R:Type -> @E:Data -> @H:Type -> @Error:Data -> Type
Every result returns Schedule with actual runner owners and World. Failed retains the first returned error after the remaining steps run. Each runner determines its own write policy. Rejected refuses namespace admission before any step runs.
Finished@S:Data -> @C:Type -> @R:Type -> @E:Data -> @H:Type -> @Error:Data -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @observations:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>
Failed@S:Data -> @C:Type -> @R:Type -> @E:Data -> @H:Type -> @Error:Data -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @error:Error -> @observations:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>
Rejected@S:Data -> @C:Type -> @R:Type -> @E:Data -> @H:Type -> @Error:Data -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> RunResult<S, C, R, E, H, Error>
Definitions
def contains source · line 39 · raw
@ids:List<&2, U32> -> @+id:U32 -> Bool
def valid source · line 44 · raw
@steps:List<&2, Step> -> @+catalog:List<&2, U32> -> @+seen:List<&2, U32> -> Bool
Templates
template build_checked source · line 51 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @allowed:Bool -> @+namespace:U32 -> @+name:String -> @+steps:List<&2, Step> -> @owners:H -> Build<S, C, R, E, H>
template build source · line 59 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @+namespace:U32 -> @+name:String -> @+steps:List<&2, Step> -> @catalog:List<&2, U32> -> @owners:H -> Build<S, C, R, E, H>
Validate that each System id occurs in the supplied catalog and appears at most once in steps. Return Invalid with owners otherwise. Condition slots and catalog provenance are trusted setup here; this is not a scheduler conflict analysis.
template failure_returned source · line 64 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @error:Error -> @result:RunResult<S, C, R, E, H, Error> -> RunResult<S, C, R, E, H, Error>
Continuations keep recursion structurally decreasing on the plan, rather than moving affine owners into runtime closures stored in the schedule.
template after_outcome source · line 70 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @next:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>) -> @outcome:0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit> -> @owners:H -> @+namespace:U32 -> @+name:String -> @+all:List<&2, Step> -> @+observations:List<&2, Observation> -> @+id:U32 -> RunResult<S, C, R, E, H, Error>
template after_dispatch source · line 75 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @next:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>) -> @result:Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>) -> @+namespace:U32 -> @+name:String -> @+all:List<&2, Step> -> @+observations:List<&2, Observation> -> @+id:U32 -> RunResult<S, C, R, E, H, Error>
template conditioned source · line 79 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @next:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>) -> @allowed:Bool -> @owners:H -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @+namespace:U32 -> @+name:String -> @+all:List<&2, Step> -> @+observations:List<&2, Observation> -> @+id:U32 -> RunResult<S, C, R, E, H, Error>
template after_condition source · line 84 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @next:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>) -> @checked:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool) -> @owners:H -> @+namespace:U32 -> @+name:String -> @+all:List<&2, Step> -> @+observations:List<&2, Observation> -> @+id:U32 -> RunResult<S, C, R, E, H, Error>
template after_skip source · line 88 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @next:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>) -> @returned:Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>) -> @observations:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>
template default_barrier source · line 92 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @owners:H -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)
template execute_with_barrier source · line 94 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @-barrier:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @steps:List<&2, Step> -> @owners:H -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @+namespace:U32 -> @+name:String -> @+all:List<&2, Step> -> @+observations:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>
template execute source · line 101 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @steps:List<&2, Step> -> @owners:H -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @+namespace:U32 -> @+name:String -> @+all:List<&2, Step> -> @+observations:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>
template run_checked source · line 104 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @allowed:Bool -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> RunResult<S, C, R, E, H, Error>
template run_actual source · line 110 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @+actual:U32 -> RunResult<S, C, R, E, H, Error>
template run_namespace source · line 114 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @schedule:Schedule<S, C, R, E, H> -> @named:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, U32) -> RunResult<S, C, R, E, H, Error>
template run source · line 124 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> RunResult<S, C, R, E, H, Error>
Run static steps in order after matching Schedule and World namespaces. Evaluate condition by its slot; false records Skipped without dispatch. True threads the actual H through dispatch, continuing after Sys.Failed. Barriers call W.barrier; no implicit final barrier is added. Callbacks are trusted closed providers, not arbitrary capabilities inferred from ids. See ordinary App schedule setup in examples/scheduled-health/application.bend.
template conditioned_skip source · line 128 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-skip:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @next:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>) -> @allowed:Bool -> @owners:H -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @+namespace:U32 -> @+name:String -> @+all:List<&2, Step> -> @+observations:List<&2, Observation> -> @+id:U32 -> RunResult<S, C, R, E, H, Error>
Additive runner with owner-preserving condition-false reader lifecycle hook.
template after_condition_skip source · line 133 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-skip:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @next:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>) -> @checked:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool) -> @owners:H -> @+namespace:U32 -> @+name:String -> @+all:List<&2, Step> -> @+observations:List<&2, Observation> -> @+id:U32 -> RunResult<S, C, R, E, H, Error>
template execute_skip source · line 137 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-skip:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @steps:List<&2, Step> -> @owners:H -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @+namespace:U32 -> @+name:String -> @+all:List<&2, Step> -> @+observations:List<&2, Observation> -> RunResult<S, C, R, E, H, Error>
template run_checked_skip source · line 144 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-skip:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @allowed:Bool -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> RunResult<S, C, R, E, H, Error>
template run_actual_skip source · line 150 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-skip:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @+actual:U32 -> RunResult<S, C, R, E, H, Error>
template run_namespace_skip source · line 154 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-skip:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @schedule:Schedule<S, C, R, E, H> -> @named:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, U32) -> RunResult<S, C, R, E, H, Error>
template run_with_skip source · line 161 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-skip:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> RunResult<S, C, R, E, H, Error>
As run, but a false condition invokes skip(owners,world,id) before continuing. Use the provider-defined hook for skipped-reader lifecycle; the hook itself returns both actual owners and World and is not assumed to be a pure no-op.
template run_barrier_checked source · line 164 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @-barrier:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @allowed:Bool -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> RunResult<S, C, R, E, H, Error>
template run_barrier_actual source · line 168 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @-barrier:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @+actual:U32 -> RunResult<S, C, R, E, H, Error>
template run_barrier_named source · line 171 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @-barrier:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @schedule:Schedule<S, C, R, E, H> -> @named:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, U32) -> RunResult<S, C, R, E, H, Error>
template run_with_barrier source · line 178 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-Error:Data -> @-dispatch:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Unit>)) -> @-condition:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool)) -> @-barrier:(@_:H -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)) -> @schedule:Schedule<S, C, R, E, H> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> RunResult<S, C, R, E, H, Error>
As namespace-checked run, with a caller-supplied barrier threading H and World at each explicit Barrier step. This supports owned runtime synchronization; its effects are trusted and no automatic final barrier or schedule rollback is added. Condition-false handling is the ordinary skip-without-dispatch path.