~/bend-docscommunity

execution_state.bend checks

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

9 imports
import Base
import ./execution_lifecycle_notices.bend as Notice
import ./world.bend as W
import ./entity_allocator.bend as A
import ./entity_key.bend as K
import ./clock_state.bend as Clock
import ./change_tick.bend as Tick
import ./deferred_command.bend as Deferred
import ./execution_reservation_authority.bend as Authority

Types

type Invocation source · line 11 · raw

@-S:Data -> Type

type Scope source · line 13 · raw

@-S:Data -> @-C:Type -> @-R:Type -> Type

type Administration source · line 15 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> Type

Definitions

def reserved_pending source · line 44 · raw

@-S:Data -> @+namespace:U32 -> @authorized:Maybe<&2, U32> -> @permit:0x704c77730661eff4309838fc738ef615/execution_reservation_authority.Permit -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @result:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool) -> Pair(Invocation<S>, 0x704c77730661eff4309838fc738ef615/world.Reservation<S>)

def reserved source · line 48 · raw

@-S:Data -> @+namespace:U32 -> @authorized:Maybe<&2, U32> -> @permit:0x704c77730661eff4309838fc738ef615/execution_reservation_authority.Permit -> @result:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, 0x704c77730661eff4309838fc738ef615/entity_allocator.Reservation) -> Pair(Invocation<S>, 0x704c77730661eff4309838fc738ef615/world.Reservation<S>)

def reserve_allowed source · line 52 · raw

@-S:Data -> @allowed:Bool -> @invocation:Invocation<S> -> Pair(Invocation<S>, 0x704c77730661eff4309838fc738ef615/world.Reservation<S>)

def reserve_invocation source · line 56 · raw

@-S:Data -> @invocation:Invocation<S> -> Pair(Invocation<S>, 0x704c77730661eff4309838fc738ef615/world.Reservation<S>)

Templates

template separated_snapshot source · line 17 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @namespace:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @store:C -> @resource:R -> @events:List<&2, E> -> @pending:List<&1, 0x704c77730661eff4309838fc738ef615/deferred_command.Command<0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>>> -> @registrations:List<&2, 0x704c77730661eff4309838fc738ef615/world.RegistrationMeta> -> @nextSystemId:U32 -> @clock:0x704c77730661eff4309838fc738ef615/clock_state.State -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @snapshot:Pair(0x704c77730661eff4309838fc738ef615/execution_lifecycle_notices.Journal<S>, 0x704c77730661eff4309838fc738ef615/execution_lifecycle_notices.View<S>) -> Pair(Administration<S, C, R, E>, Pair(Invocation<S>, Scope<S, C, R>))

template separated source · line 20 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @observed:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>) -> Pair(Administration<S, C, R, E>, Pair(Invocation<S>, Scope<S, C, R>))

template separate source · line 23 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> Pair(Administration<S, C, R, E>, Pair(Invocation<S>, Scope<S, C, R>))

template reassemble source · line 25 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @admin:Administration<S, C, R, E> -> @invocation:Invocation<S> -> @scope:Scope<S, C, R> -> 0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>

template same source · line 28 · raw

@-S:Data -> @left:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @right:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Bool

template member source · line 31 · raw

@-S:Data -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> Bool

template window source · line 37 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @scope:Scope<S, C, R> -> @prior:Maybe<&2, 0x704c77730661eff4309838fc738ef615/change_tick.Tick> -> Scope<S, C, R>

The cursor belongs to this admitted system, independently of the shared clock.

template admit source · line 41 · raw

@-S:Data -> @+id:U32 -> @grant:0x704c77730661eff4309838fc738ef615/execution_reservation_authority.Grant -> @invocation:Invocation<S> -> Invocation<S>

template request source · line 59 · raw

@-S:Data -> @token:0x704c77730661eff4309838fc738ef615/execution_reservation_authority.Granted -> @invocation:Invocation<S> -> Pair(Invocation<S>, 0x704c77730661eff4309838fc738ef615/world.Reservation<S>)