execution_restore_stage.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_restore_stage.bend as Execution_restore_stage
5 imports
import Base import ./execution_save_data.bend as Saved import ./restore_data.bend as R import ./restore_prepare.bend as Prepare import ./decode_data.bend as D
Definitions
def persisted source · line 9 · raw
@values:List<&2, 0x704c77730661eff4309838fc738ef615/execution_save_data.Field> -> List<&2, 0x704c77730661eff4309838fc738ef615/decode_data.Field>
Constructor records and their undo functions remain affine in State. A refusal runs the closed schema's release operation; it never mutates the receiver.
Templates
template continued source · line 14 · raw
@-State:Type -> @-Custom:Data -> @next:(@_:State -> 0x704c77730661eff4309838fc738ef615/restore_prepare.Walk<State, Custom>) -> @result:0x704c77730661eff4309838fc738ef615/restore_prepare.Walk<State, Custom> -> 0x704c77730661eff4309838fc738ef615/restore_prepare.Walk<State, Custom>
template entities source · line 18 · raw
@-State:Type -> @-Custom:Data -> @-stage:(@_:State -> @_:0x704c77730661eff4309838fc738ef615/restore_data.Position -> @_:0x704c77730661eff4309838fc738ef615/decode_data.Field -> Pair(State, 0x704c77730661eff4309838fc738ef615/restore_data.Dispatch<Custom>)) -> @values:List<&2, 0x704c77730661eff4309838fc738ef615/execution_save_data.Entity> -> @state:State -> 0x704c77730661eff4309838fc738ef615/restore_prepare.Walk<State, Custom>
template finished source · line 22 · raw
@-S:Data -> @-State:Type -> @-Custom:Data -> @-release:(@_:State -> State) -> @input:0x704c77730661eff4309838fc738ef615/execution_save_data.Snapshot<S> -> @result:0x704c77730661eff4309838fc738ef615/restore_prepare.Walk<State, Custom> -> Pair(State, Pair(0x704c77730661eff4309838fc738ef615/execution_save_data.Snapshot<S>, Maybe<&2, 0x704c77730661eff4309838fc738ef615/restore_data.Error<Custom>>))
template admitted source · line 28 · raw
@-S:Data -> @-State:Type -> @-Custom:Data -> @-stage:(@_:State -> @_:0x704c77730661eff4309838fc738ef615/restore_data.Position -> @_:0x704c77730661eff4309838fc738ef615/decode_data.Field -> Pair(State, 0x704c77730661eff4309838fc738ef615/restore_data.Dispatch<Custom>)) -> @-release:(@_:State -> State) -> @state:State -> @+input:0x704c77730661eff4309838fc738ef615/execution_save_data.Snapshot<S> -> Pair(State, Pair(0x704c77730661eff4309838fc738ef615/execution_save_data.Snapshot<S>, Maybe<&2, 0x704c77730661eff4309838fc738ef615/restore_data.Error<Custom>>))
Called only after schema and metadata admission. Raw omission is deliberate: Transient values have no constructor invocation and no invented default owner.