def save

bendvy-ecs-core@0.1.0.3 · execution_save_world.bend:54

import bendvy-ecs-core@0.1.0.3/execution_save_world.bend as ExecutionSaveWorld
import Base
import bendvy-ecs-core@0.1.0.3/execution_save_plan.bend as Plan
import bendvy-ecs-core@0.1.0.3/execution_save_data.bend as Saved
import bendvy-ecs-core@0.1.0.3/execution_save_recipe.bend as Recipe
import bendvy-ecs-core@0.1.0.3/execution_save_gate.bend as Gate
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
import bendvy-ecs-core@0.1.0.3/snapshot_data.bend as Legacy
import bendvy-ecs-core@0.1.0.3/world.bend as W

54# Internal World phase. Ordinary applications must first inventory their actual
55# command owners with execution-save-gate; legacy World.pending is additional.
56# Eligibility of the entire closed schema precedes metadata and field projection.
57def save(~S:Data,~cp:Plan.Plan,~rp:Plan.Plan,~E:Data,schema:Plan.Schema<S,cp,rp>,world:W.World<S,Layout.columns(~S,Plan.layout(cp)),Layout.resources(~S,Plan.layout(rp)),E>) -> Plan.Schema<S,cp,rp> & (W.World<S,Layout.columns(~S,Plan.layout(cp)),Layout.resources(~S,Plan.layout(rp)),E> & Gate.Outcome<Saved.Snapshot<S>,Recipe.Refusal>):
58  ready(~S,~cp,~rp,~E,schema,Legacy.ready(~S,~Layout.columns(~S,Plan.layout(cp)),~Layout.resources(~S,Plan.layout(rp)),~E,world))

Uses (12)

Used by (0)

No other definition uses this definition.