~/bend-docscommunity

execution_command_buffer.bend checks

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

11 imports
import Base
import ./execution_effects.bend as Effects
import ./world.bend as W
import ./execution_reservation_bundle.bend as Bundle
import ./execution_composer_layout.bend as Layout
import ./execution_relation_operation.bend as Operation
import ./execution_relation_store.bend as RelationStore
import ./execution_lifetime_scope_command.bend as ScopeCommands
import ./execution_lifetime_scope_store.bend as ScopeStore
import ./execution_lifetime_scope_resource_dispatch.bend as ScopeDispatch
import ./relation_types.bend as Relation

Types

type Entry source · line 15 · raw

@-S:Data -> @-P:Type -> @-D:Type -> Type

Framework storage for one declared component family. Payloads remain affine until a whole-World barrier applies them or returns them in a refusal receipt.

type ScopeDenial source · line 21 · raw

Data

type ScopeStatus source · line 25 · raw

Data

type LinkedStatus source · line 29 · raw

Data

type Receipt source · line 33 · raw

@-S:Data -> @-P:Type -> @-D:Type -> Type

type Buffer source · line 45 · raw

@-S:Data -> @-P:Type -> @-D:Type -> Type

type SpawnAdmission source · line 75 · raw

@-S:Data -> @-D:Type -> Type

Admission returns the actual bundle if canonical reservation was refused.

Templates

template empty source · line 50 · raw

@-S:Data -> @-P:Type -> @-D:Type -> Buffer<S, P, D>

Bevy ad678262, schedule/executor/single_threaded.rs: run_without_applying_deferred keeps the system's authored buffer, including after a handled RunSystemError. Enqueue here only transfers ownership; no component storage is available.

template relation source · line 51 · raw

@-S:Data -> @-P:Type -> @-D:Type -> @buffer:Buffer<S, P, D> -> @route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @operation:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Operation<S> -> Buffer<S, P, D>

template lifetime_scope source · line 54 · raw

@-S:Data -> @-P:Type -> @-D:Type -> @buffer:Buffer<S, P, D> -> @route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @operation:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_command.Operation<S> -> Buffer<S, P, D>

template insert source · line 57 · raw

@-S:Data -> @-P:Type -> @-D:Type -> @buffer:Buffer<S, P, D> -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @incoming:P -> Buffer<S, P, D>

template remove source · line 60 · raw

@-S:Data -> @-P:Type -> @-D:Type -> @buffer:Buffer<S, P, D> -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Buffer<S, P, D>

template despawn source · line 63 · raw

@-S:Data -> @-P:Type -> @-D:Type -> @buffer:Buffer<S, P, D> -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Buffer<S, P, D>

template pending source · line 66 · raw

@-S:Data -> @-P:Type -> @-D:Type -> @buffer:Buffer<S, P, D> -> Pair(Buffer<S, P, D>, Bool)

template take_receipts source · line 70 · raw

@-S:Data -> @-P:Type -> @-D:Type -> @buffer:Buffer<S, P, D> -> Pair(Buffer<S, P, D>, List<&1, Receipt<S, P, D>>)

template stage source · line 78 · raw

@-S:Data -> @-P:Type -> @-D:Type -> @buffer:Buffer<S, P, D> -> @bundle:D -> @answer:0x704c77730661eff4309838fc738ef615/world.Reservation<S> -> Pair(Buffer<S, P, D>, SpawnAdmission<S, D>)

template spawn source · line 82 · raw

@-S:Data -> @-P:Type -> @-D:Type -> @-Permit:Data -> @-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-token:Permit -> @-request:(@_:Permit -> F(0x704c77730661eff4309838fc738ef615/world.Reservation<S>)) -> @buffer:Buffer<S, P, D> -> @bundle:D -> F(Pair(Buffer<S, P, D>, SpawnAdmission<S, D>))