restore_clear.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.7/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:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @declaration:0x7e321819d0ff210531780719c7674cef/persistence_declaration.Constructed<S, P, identity, project> -> @+handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> @observed:0x7e321819d0ff210531780719c7674cef/column.SwapOutcome<S, P> -> Pair(0x7e321819d0ff210531780719c7674cef/snapshot_leaf.Component<S, P, identity, project>, List<&2, 0x7e321819d0ff210531780719c7674cef/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:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @owner:0x7e321819d0ff210531780719c7674cef/snapshot_leaf.Component<S, P, identity, project> -> @+handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(0x7e321819d0ff210531780719c7674cef/snapshot_leaf.Component<S, P, identity, project>, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)
template transient_cleared source · line 21 · raw
@-S:Data -> @-P:Type -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @declaration:0x7e321819d0ff210531780719c7674cef/persistence_declaration.Transient<S, P, identity> -> @+handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> @observed:0x7e321819d0ff210531780719c7674cef/column.SwapOutcome<S, P> -> Pair(0x7e321819d0ff210531780719c7674cef/snapshot_leaf.TransientComponent<S, P, identity>, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)
template transient_component_owned source · line 26 · raw
@-S:Data -> @-P:Type -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @owner:0x7e321819d0ff210531780719c7674cef/snapshot_leaf.TransientComponent<S, P, identity> -> @+handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(0x7e321819d0ff210531780719c7674cef/snapshot_leaf.TransientComponent<S, P, identity>, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)
template transient_component source · line 29 · raw
@-S:Data -> @-P:Type -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @owner:0x7e321819d0ff210531780719c7674cef/snapshot_leaf.TransientComponent<S, P, identity> -> @handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(0x7e321819d0ff210531780719c7674cef/snapshot_leaf.TransientComponent<S, P, identity>, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)
template unit source · line 31 · raw
@-S:Data -> @owner:Unit -> @handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(Unit, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)
template product_join source · line 32 · raw
@-S:Data -> @-LC:Type -> @-RC:Type -> @left:LC -> @events:List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>> -> @observed:Pair(RC, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>) -> Pair(0x7e321819d0ff210531780719c7674cef/owner_product.Owner<LC, RC>, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)
template product_left source · line 35 · raw
@-S:Data -> @-LC:Type -> @-RC:Type -> @-right:(@_:RC -> @_:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(RC, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)) -> @owner:RC -> @handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> @observed:Pair(LC, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>) -> Pair(0x7e321819d0ff210531780719c7674cef/owner_product.Owner<LC, RC>, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)
template product source · line 38 · raw
@-S:Data -> @-LC:Type -> @-RC:Type -> @-left:(@_:LC -> @_:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(LC, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)) -> @-right:(@_:RC -> @_:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(RC, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)) -> @owner:0x7e321819d0ff210531780719c7674cef/owner_product.Owner<LC, RC> -> @+handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(0x7e321819d0ff210531780719c7674cef/owner_product.Owner<LC, RC>, List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Change<S>>)