restore_transient.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.7/restore_transient.bend as Restore_transient
9 imports
import Base import ./change_tick.bend as Tick 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 ./column.bend as Col import ./world.bend as W import ./decode_data.bend as D
Types
type State source · line 11 · raw
@P:Type -> Type
State@P:Type -> @removed:List<&1, P> -> State<P>
Templates
template stage source · line 12 · raw
@-State:Type -> @-Custom:Data -> @state:State -> @position:0x7e321819d0ff210531780719c7674cef/restore_data.Position -> @field:0x7e321819d0ff210531780719c7674cef/decode_data.Field -> Pair(State, 0x7e321819d0ff210531780719c7674cef/restore_data.Dispatch<Custom>)
template release source · line 14 · raw
@-State:Type -> @state:State -> State
template insert source · line 15 · raw
@-S:Data -> @-P:Type -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @owner:0x7e321819d0ff210531780719c7674cef/snapshot_leaf.TransientComponent<S, P, identity> -> @unit:Unit -> @state:State<P> -> @bindings:List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Binding<S>> -> @tick:0x7e321819d0ff210531780719c7674cef/change_tick.Tick -> Pair(Pair(0x7e321819d0ff210531780719c7674cef/snapshot_leaf.TransientComponent<S, P, identity>, Unit), State<P>)
template resource_insert source · line 17 · raw
@-S:Data -> @-P:Type -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @unit:Unit -> @owner:0x7e321819d0ff210531780719c7674cef/snapshot_leaf.TransientResource<S, P, identity> -> @state:Unit -> @bindings:List<&2, 0x7e321819d0ff210531780719c7674cef/restore_data.Binding<S>> -> @tick:0x7e321819d0ff210531780719c7674cef/change_tick.Tick -> Pair(Pair(Unit, 0x7e321819d0ff210531780719c7674cef/snapshot_leaf.TransientResource<S, P, identity>), Unit)
template commit source · line 19 · raw
@-P:Type -> @state:State<P> -> State<P>
template take_recovery source · line 21 · raw
@-State:Type -> @state:State -> Pair(State, Unit)