~/bend-docscommunity

execution_deferred_settings.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_deferred_settings.bend as Execution_deferred_settings

3 imports
import Base
import ./dependency_plan.bend as Plan
import ./execution_deferred_plan.bend as Deferred

Types

type Explicit source · line 5 · raw

Data

type Settings source · line 7 · raw

Data

type Automatic source · line 9 · raw

Data

type Graph source · line 11 · raw

Data

type Built source · line 13 · raw

Data

type GraphResult source · line 15 · raw

Data

Definitions

def defaults source · line 18 · raw

Settings

def member source · line 19 · raw

@+id:U32 -> @ids:List<&2, U32> -> Bool

def edge_member source · line 23 · raw

@+before:U32 -> @+after:U32 -> @edges:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> Bool

def fresh_choice source · line 27 · raw

@used:Bool -> @candidate:U32 -> @next:Maybe<&2, U32> -> Maybe<&2, U32>

def fresh source · line 31 · raw

@fuel:Nat -> @+nodes:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Node<String>> -> @+candidate:U32 -> Maybe<&2, U32>

def available source · line 35 · raw

@+nodes:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Node<String>> -> Maybe<&2, U32>

def explicit_target source · line 37 · raw

@explicit:Explicit -> U32

def targets source · line 40 · raw

@explicit:List<&2, Explicit> -> List<&2, U32>

def check_explicit_entry source · line 44 · raw

@known:Bool -> @duplicate:Bool -> @id:U32 -> @condition:Maybe<&2, U32> -> @next:Maybe<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Invalid<String>> -> Maybe<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Invalid<String>>

def check_explicit source · line 50 · raw

@explicit:List<&2, Explicit> -> @+nodes:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Node<String>> -> Maybe<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Invalid<String>>

def check_ignored_entry source · line 54 · raw

@present:Bool -> @id:U32 -> @next:Maybe<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Invalid<String>> -> Maybe<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Invalid<String>>

def check_ignored source · line 58 · raw

@ignored:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> @+edges:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> Maybe<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Invalid<String>>

def redirect_edge source · line 62 · raw

@+target:U32 -> @sync:U32 -> @edge:0x704c77730661eff4309838fc738ef615/dependency_plan.Edge -> 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge

def redirect source · line 65 · raw

@edges:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> @+target:U32 -> @+sync:U32 -> List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge>

def add_sync source · line 69 · raw

@+id:U32 -> @+target:U32 -> @graph:Graph -> Graph

def add_explicit_choice source · line 72 · raw

@choice:Maybe<&2, U32> -> @target:U32 -> @graph:Graph -> GraphResult

def add_explicit source · line 76 · raw

@target:U32 -> @+graph:Graph -> GraphResult

def explicit_step source · line 79 · raw

@target:U32 -> @result:GraphResult -> GraphResult

def explicit_graph source · line 83 · raw

@explicit:List<&2, Explicit> -> @graph:Graph -> GraphResult

def metadata_node source · line 87 · raw

@+syncs:List<&2, U32> -> @deferred:List<&2, U32> -> @node:0x704c77730661eff4309838fc738ef615/dependency_plan.Node<String> -> 0x704c77730661eff4309838fc738ef615/execution_deferred_plan.Node

def metadata source · line 90 · raw

@nodes:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Node<String>> -> @+syncs:List<&2, U32> -> @+deferred:List<&2, U32> -> List<&2, 0x704c77730661eff4309838fc738ef615/execution_deferred_plan.Node>

def deferred_edges source · line 94 · raw

@edges:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> @+ignored:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> List<&2, 0x704c77730661eff4309838fc738ef615/execution_deferred_plan.Edge>

def automatic_choice source · line 98 · raw

@same:Bool -> @id:U32 -> @rest:Maybe<&2, U32> -> Maybe<&2, U32>

def automatic_id source · line 102 · raw

@automatic:List<&2, Automatic> -> @+distance:Nat -> Maybe<&2, U32>

def keep_edge source · line 106 · raw

@same:Bool -> @edge:0x704c77730661eff4309838fc738ef615/dependency_plan.Edge -> @rest:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge>

def remove_edge source · line 110 · raw

@edges:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> @+before:U32 -> @+after:U32 -> List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge>

def connect source · line 114 · raw

@+before:U32 -> @+after:U32 -> @+sync:U32 -> @graph:Graph -> Graph

def allocated source · line 117 · raw

@before:U32 -> @after:U32 -> @distance:Nat -> @choice:Maybe<&2, U32> -> @graph:Graph -> GraphResult

def reuse_automatic source · line 121 · raw

@before:U32 -> @after:U32 -> @distance:Nat -> @choice:Maybe<&2, U32> -> @+graph:Graph -> GraphResult

def boundary_step source · line 125 · raw

@boundary:0x704c77730661eff4309838fc738ef615/execution_deferred_plan.Boundary -> @+graph:Graph -> GraphResult

def boundary_result source · line 129 · raw

@boundary:0x704c77730661eff4309838fc738ef615/execution_deferred_plan.Boundary -> @result:GraphResult -> GraphResult

def materialize source · line 133 · raw

@boundaries:List<&2, 0x704c77730661eff4309838fc738ef615/execution_deferred_plan.Boundary> -> @graph:Graph -> GraphResult

def synchronized source · line 137 · raw

@automatic:Bool -> @ignored:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> @deferred:List<&2, U32> -> @+syncs:List<&2, U32> -> @automaticIds:List<&2, Automatic> -> @plan:0x704c77730661eff4309838fc738ef615/dependency_plan.Build<String> -> GraphResult

def explicit_ready source · line 141 · raw

@automatic:Bool -> @ignored:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> @deferred:List<&2, U32> -> @result:GraphResult -> GraphResult

def compiled source · line 145 · raw

@result:GraphResult -> Built

def validated source · line 149 · raw

@invalid:Maybe<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Invalid<String>> -> @automatic:Bool -> @ignored:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> @explicit:List<&2, Explicit> -> @deferred:List<&2, U32> -> @nodes:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Node<String>> -> @edges:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> Built

def compile source · line 159 · raw

@settings:Settings -> @deferred:List<&2, U32> -> @plan:0x704c77730661eff4309838fc738ef615/dependency_plan.Build<String> -> Built

Pinned Bevy ad678262 auto_insert_apply_deferred.rs: synchronize the graph, before dependent systems' conditions run. Synthetic nodes are library-only; their fresh IDs are checked against every actual and generated graph node. Conditioned explicit barriers are rejected rather than treated as guaranteed synchronization; this API exposes unconditional explicit-before placements.