~/bend-docscommunity

component.bend checks

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

10 imports
import Base
import ./execution_lifecycle_notices.bend as Notice
import ./change_tick.bend as Tick
import ./clock_state.bend as Clock
import ./deferred_command.bend as Deferred
import lifecycle.bend as L
import column.bend as Col
import world.bend as W
import entity_key.bend as K
import entity_allocator.bend as A

Types

type Family source · line 17 · raw

@-S:Data -> @-Store:Type -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> Data

Caller-authored schema lenses are trusted provisioning. The gameplay callback receives only universally quantified provider handles, never these owners. Trusted schema provisioning for one component column and detached Data view V. take/put must return the actual affine storage owners; project returns C with V. The nominal Token distinguishes families; the display name is not access proof.

type Access source · line 21 · raw

@V:Data -> Data

Detached read result: Found holds V, ComponentAbsent means a valid entity lacks this component, and MissingEntity covers invalid, stale or foreign handles.

type Replacement source · line 28 · raw

@W:Type -> @C:Type -> Type

Immediate replacement result retaining World in every branch. Replaced returns the displaced actual payload owner; rejection returns the incoming optional owner and error. Neither Type payload is copied into detached observation data.

type Swap source · line 33 · raw

@C:Type -> Type

Internal storage-adapter result carrying the displaced or rejected owner. It is not a handle-validation result or a gameplay capability.

type SetResult source · line 39 · raw

@Tx:Type -> @C:Type -> Type

Transactional write result. Written retains the Tx with its inverse journal; WriteRejected additionally returns the actual incoming C. WriteFailure has no incoming owner. These results do not themselves commit or finish the transaction.

type RemoveResult source · line 45 · raw

@Tx:Type -> Type

Transactional removal result retaining Tx on success or refusal. The removed payload remains in the inverse journal for rollback rather than being returned.

Templates

template define source · line 52 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @name:String -> Family<S, Store, Rest, C, V, Token, take, put, project>

Define trusted column/projection plumbing for this family. This does not insert a component, validate an entity or register a gameplay system. Ordinary declaration providers expose only the appropriate opaque-owner capabilities to gameplay.

template access source · line 55 · raw

@-V:Data -> @value:Maybe<&2, V> -> Access<V>

template get_projected source · line 60 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @observed:Pair(0x704c77730661eff4309838fc738ef615/column.Column<S, C>, Maybe<&2, V>) -> Pair(Store, Access<V>)

template get_store source · line 64 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @split:Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>) -> Pair(Store, Access<V>)

template get_world source · line 68 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Access<V>)

template get_allowed source · line 73 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Bool) -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Access<V>)

template get_checked_fields source · line 79 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool) -> @key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> @namespace:U32 -> @store:Store -> @resource:R -> @events:List<&2, E> -> @pending:List<&1, 0x704c77730661eff4309838fc738ef615/deferred_command.Command<0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>>> -> @registrations:List<&2, 0x704c77730661eff4309838fc738ef615/world.RegistrationMeta> -> @nextSystemId:U32 -> @clock:0x704c77730661eff4309838fc738ef615/clock_state.State -> @lifecycle:0x704c77730661eff4309838fc738ef615/execution_lifecycle_notices.Journal<S> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Access<V>)

template get_namespace_fields source · line 85 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @allowed:Bool -> @+key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @namespace:U32 -> @store:Store -> @resource:R -> @events:List<&2, E> -> @pending:List<&1, 0x704c77730661eff4309838fc738ef615/deferred_command.Command<0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>>> -> @registrations:List<&2, 0x704c77730661eff4309838fc738ef615/world.RegistrationMeta> -> @nextSystemId:U32 -> @clock:0x704c77730661eff4309838fc738ef615/clock_state.State -> @lifecycle:0x704c77730661eff4309838fc738ef615/execution_lifecycle_notices.Journal<S> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Access<V>)

template get source · line 94 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Access<V>)

Read a detached view while returning World and the actual projected payload to its column. Validate namespace, generation and live state before column access; invalid/stale/foreign handles yield MissingEntity, not ComponentAbsent. See examples/health-decay/schema.bend for family provisioning.

template has_access source · line 99 · raw

@-V:Data -> @value:Access<V> -> Access<Bool>

template has_join source · line 105 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Access<V>) -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Access<Bool>)

template has source · line 112 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Access<Bool>)

Return presence as Found(Bool), preserving MissingEntity for invalid handles. This delegates to get, so the configured projection is evaluated on a present payload; it is not a projection-free raw occupancy query.

template owner_present source · line 115 · raw

@-C:Type -> @owner:Maybe<&1, C> -> Pair(Maybe<&1, C>, Bool)

template mark_swapped source · line 120 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @column:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> @+id:U32 -> @incoming:Bool -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @observed:Pair(Maybe<&1, C>, Bool) -> Pair(Store, Swap<C>)

template swap_join source · line 124 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @+id:U32 -> @incoming:Bool -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @result:0x704c77730661eff4309838fc738ef615/column.SwapOutcome<S, C> -> Pair(Store, Swap<C>)

template swap_store source · line 129 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @incomingPresent:Bool -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @split:Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>) -> Pair(Store, Swap<C>)

template swap_world source · line 133 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @incomingPresent:Bool -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Swap<C>)

template replaced source · line 138 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Swap<C>) -> Replacement<0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, C>

template replace_clock_advanced source · line 143 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incomingPresent:Bool -> @incoming:Maybe<&1, C> -> @advanced:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, 0x704c77730661eff4309838fc738ef615/change_tick.Tick) -> Replacement<0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, C>

template replace_present source · line 147 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> @id:U32 -> @observed:Pair(Maybe<&1, C>, Bool) -> Replacement<0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, C>

template replace_allowed source · line 151 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Bool) -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @incoming:Maybe<&1, C> -> Replacement<0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, C>

template replace source · line 162 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @incoming:Maybe<&1, C> -> Replacement<0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, C>

Ordinary writes require a live entity. Foreign handles are rejected before any column access, size computation, allocation or owned replacement move. Immediately insert/replace with Some(C), or remove with None, on a live handle. Return displaced C on success and incoming C on rejection; capacity errors remain explicit. This operation is not deferred and has no automatic undo journal.

template structural_replace source · line 170 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @incoming:Maybe<&1, C> -> Replacement<0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, C>

Deferred creation may populate reserved entities before activation. This is provisioning/structural command machinery, not a gameplay capability. Trusted structural adapter permitting metadata-valid reserved entities as well as live ones. Retains replacement owners/results like replace; this is not a public gameplay bypass for accessing an arbitrary inactive entity.

template restore_done source · line 173 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @result:Replacement<0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, C> -> 0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>

template restore_swap source · line 180 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @result:0x704c77730661eff4309838fc738ef615/column.SwapOutcome<S, C> -> Pair(Store, Unit)

Inverse closures own their old component, not a copied payload. Replaying drops the replaced current owner exactly once and restores the journal owner.

template restore_store source · line 185 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @split:Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>) -> Pair(Store, Unit)

template restore_world source · line 189 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Unit)

template restore_observed source · line 194 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Unit) -> 0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>

template restore_allowed source · line 198 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Bool) -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @incoming:Maybe<&1, C> -> 0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>

template restore source · line 203 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @incoming:Maybe<&1, C> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> 0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>

template lifecycle_join source · line 206 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @observed:Pair(0x704c77730661eff4309838fc738ef615/column.Column<S, C>, 0x704c77730661eff4309838fc738ef615/lifecycle.Stamp) -> Pair(Store, 0x704c77730661eff4309838fc738ef615/lifecycle.Stamp)

template lifecycle_store source · line 210 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @split:Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>) -> Pair(Store, 0x704c77730661eff4309838fc738ef615/lifecycle.Stamp)

template lifecycle_world source · line 214 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, 0x704c77730661eff4309838fc738ef615/lifecycle.Stamp)

template lifecycle_allowed source · line 219 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Bool) -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, 0x704c77730661eff4309838fc738ef615/lifecycle.Stamp)

template lifecycle source · line 226 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, 0x704c77730661eff4309838fc738ef615/lifecycle.Stamp)

Read this component slot's lifecycle stamp while returning World. Invalid live handle validation yields Stamp(None,None); no detached component payload is returned.

template restore_stamp_store source · line 229 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @split:Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>) -> Pair(Store, Unit)

template restore_stamp_world source · line 233 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Unit)

template restore_stamp_done source · line 238 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>, Unit) -> 0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>

template restore_stamp source · line 242 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x704c77730661eff4309838fc738ef615/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x704c77730661eff4309838fc738ef615/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E> -> 0x704c77730661eff4309838fc738ef615/world.World<S, Store, R, E>