type Outcome

bendvy-ecs-core@0.1.0.4 · restore_public.bend:35

import bendvy-ecs-core@0.1.0.4/restore_public.bend as RestorePublic
import Base
import bendvy-ecs-core@0.1.0.4/restore_data.bend as R
import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as Snapshot

35# Detached owned-run result. Restored carries full saved-key/actual-handle bindings;
36# RestoreRejected carries the rejected typed input and its structured error.
37# Actual affine recovery is returned separately, never hidden in this Data result.
38type Outcome<S:Data,Custom:Data> is Data:
39  Restored{bindings:List<&2,R.Binding<S>>}
40  RestoreRejected{input:Snapshot.Snapshot,error:R.Error<Custom>}

Uses (4)

Used by (9)