restore_clear.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.2/restore_clear.bend as Restore_clear
9 imports
import Base import ./restore_data.bend as R import ./snapshot_leaf.bend as Leaf import ./ordinary_declaration.bend as Identity import ./persistence_declaration.bend as Decl import ./decode_data.bend as D import ./column.bend as Col import ./world.bend as W import ./owner_product.bend as Product
Templates
template component_cleared source · line 13 · raw
@-S:Data -> @-P:Type -> @-identity:0xb2b0f04555daca474f0f77d0966945c9/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/decode_data.Raw)) -> @declaration:0xb2b0f04555daca474f0f77d0966945c9/persistence_declaration.Constructed<S, P, identity, project> -> @+handle:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> @observed:0xb2b0f04555daca474f0f77d0966945c9/column.SwapOutcome<S, P> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.Component<S, P, identity, project>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)
Called only after complete staging and capacity admission. Old payloads leave scope here; no inverse, destructor or finalizer callback is executed.
template component source · line 18 · raw
@-S:Data -> @-P:Type -> @-identity:0xb2b0f04555daca474f0f77d0966945c9/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/decode_data.Raw)) -> @owner:0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.Component<S, P, identity, project> -> @+handle:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.Component<S, P, identity, project>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)
template transient_cleared source · line 21 · raw
@-S:Data -> @-P:Type -> @-identity:0xb2b0f04555daca474f0f77d0966945c9/ordinary_declaration.Declaration<S, P> -> @declaration:0xb2b0f04555daca474f0f77d0966945c9/persistence_declaration.Transient<S, P, identity> -> @+handle:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> @observed:0xb2b0f04555daca474f0f77d0966945c9/column.SwapOutcome<S, P> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.TransientComponent<S, P, identity>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)
template transient_component_owned source · line 26 · raw
@-S:Data -> @-P:Type -> @-identity:0xb2b0f04555daca474f0f77d0966945c9/ordinary_declaration.Declaration<S, P> -> @owner:0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.TransientComponent<S, P, identity> -> @+handle:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.TransientComponent<S, P, identity>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)
template transient_component source · line 29 · raw
@-S:Data -> @-P:Type -> @-identity:0xb2b0f04555daca474f0f77d0966945c9/ordinary_declaration.Declaration<S, P> -> @owner:0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.TransientComponent<S, P, identity> -> @handle:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.TransientComponent<S, P, identity>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)
template unit source · line 31 · raw
@-S:Data -> @owner:Unit -> @handle:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> Pair(Unit, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)
template product_join source · line 32 · raw
@-S:Data -> @-LC:Type -> @-RC:Type -> @left:LC -> @events:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>> -> @observed:Pair(RC, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>) -> Pair(0xb2b0f04555daca474f0f77d0966945c9/owner_product.Owner<LC, RC>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)
template product_left source · line 35 · raw
@-S:Data -> @-LC:Type -> @-RC:Type -> @-right:(@_:RC -> @_:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> Pair(RC, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)) -> @owner:RC -> @handle:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> @observed:Pair(LC, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>) -> Pair(0xb2b0f04555daca474f0f77d0966945c9/owner_product.Owner<LC, RC>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)
template product source · line 38 · raw
@-S:Data -> @-LC:Type -> @-RC:Type -> @-left:(@_:LC -> @_:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> Pair(LC, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)) -> @-right:(@_:RC -> @_:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> Pair(RC, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)) -> @owner:0xb2b0f04555daca474f0f77d0966945c9/owner_product.Owner<LC, RC> -> @+handle:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/owner_product.Owner<LC, RC>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Change<S>>)