def barrier

bendvy-ecs-core@0.1.0.3 · world.bend:240

import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base
import bendvy-ecs-core@0.1.0.3/trace_facts.bend as TraceFacts
import bendvy-ecs-core@0.1.0.3/deferred_command.bend as Deferred

240# Apply the current pending command batch in FIFO order with tracing disabled.
241# Returns World; it neither invents a transaction rollback nor recursively drains
242# new work queued by those commands. See commands.bend for lifecycle adapters.
243def barrier(~S:Data,~C:Type,~R:Type,~E:Data,world:World<S,C,R,E>) -> World<S,C,R,E>:
244  Deferred.world_only(~World<S,C,R,E>,barrier_traced(~S,~C,~R,~E,world,TraceFacts.Off{}))

Uses (4)

Used by (0)

No other definition uses this definition.