def boundary_step

bendvy-ecs-core@0.1.0.3 · execution_deferred_settings.bend:125

import bendvy-ecs-core@0.1.0.3/execution_deferred_settings.bend as ExecutionDeferredSettings
import Base
import bendvy-ecs-core@0.1.0.3/execution_deferred_plan.bend as Deferred

125def boundary_step(boundary:Deferred.Boundary,+graph:Graph) -> GraphResult:
126  match boundary graph:
127    case Deferred.Boundary{before,after,_,Some{id}} graph:GraphReady{connect(before,after,id,graph)}
128    case Deferred.Boundary{before,after,+distance,None{}} Graph{nodes,edges,syncs,+automatic}:reuse_automatic(before,after,distance,automatic_id(automatic,distance),Graph{nodes,edges,syncs,automatic})

Uses (7)

Used by (1)