footprintjs 9.40.1 → 9.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/lib/builder/FlowChartBuilder.d.ts +10 -3
- package/dist/esm/lib/builder/FlowChartBuilder.js +93 -86
- package/dist/esm/lib/capture/freeze.d.ts +1 -1
- package/dist/esm/lib/capture/freeze.js +2 -2
- package/dist/esm/lib/engine/traversal/FlowchartTraverser.js +3 -3
- package/dist/esm/lib/memory/StageContext.d.ts +16 -0
- package/dist/esm/lib/memory/StageContext.js +35 -40
- package/dist/esm/lib/reactive/types.js +4 -4
- package/dist/esm/lib/recorder/hooks.d.ts +2 -2
- package/dist/esm/lib/recorder/hooks.js +2 -2
- package/dist/esm/lib/recorder/snapshot.d.ts +1 -1
- package/dist/esm/lib/recorder/snapshot.js +2 -2
- package/dist/esm/lib/runner/FlowChartExecutor.d.ts +93 -377
- package/dist/esm/lib/runner/FlowChartExecutor.js +184 -1059
- package/dist/esm/lib/runner/attach.d.ts +95 -0
- package/dist/esm/lib/runner/attach.js +247 -0
- package/dist/esm/lib/runner/checkpoint.d.ts +69 -0
- package/dist/esm/lib/runner/checkpoint.js +254 -0
- package/dist/esm/lib/runner/index.d.ts +1 -1
- package/dist/esm/lib/runner/index.js +1 -1
- package/dist/esm/lib/runner/options.d.ts +79 -0
- package/dist/esm/lib/runner/options.js +31 -0
- package/dist/esm/lib/runner/resume.d.ts +73 -0
- package/dist/esm/lib/runner/resume.js +301 -0
- package/dist/esm/lib/runner/snapshot.d.ts +41 -0
- package/dist/esm/lib/runner/snapshot.js +93 -0
- package/dist/lib/builder/FlowChartBuilder.js +93 -86
- package/dist/lib/capture/freeze.js +2 -2
- package/dist/lib/engine/traversal/FlowchartTraverser.js +3 -3
- package/dist/lib/memory/StageContext.js +35 -40
- package/dist/lib/reactive/types.js +4 -4
- package/dist/lib/recorder/hooks.js +2 -2
- package/dist/lib/recorder/snapshot.js +2 -2
- package/dist/lib/runner/FlowChartExecutor.js +182 -1057
- package/dist/lib/runner/attach.js +251 -0
- package/dist/lib/runner/checkpoint.js +258 -0
- package/dist/lib/runner/index.js +1 -1
- package/dist/lib/runner/options.js +35 -0
- package/dist/lib/runner/resume.js +307 -0
- package/dist/lib/runner/snapshot.js +98 -0
- package/dist/types/lib/builder/FlowChartBuilder.d.ts +10 -3
- package/dist/types/lib/capture/freeze.d.ts +1 -1
- package/dist/types/lib/memory/StageContext.d.ts +16 -0
- package/dist/types/lib/recorder/hooks.d.ts +2 -2
- package/dist/types/lib/recorder/snapshot.d.ts +1 -1
- package/dist/types/lib/runner/FlowChartExecutor.d.ts +93 -377
- package/dist/types/lib/runner/attach.d.ts +95 -0
- package/dist/types/lib/runner/checkpoint.d.ts +69 -0
- package/dist/types/lib/runner/index.d.ts +1 -1
- package/dist/types/lib/runner/options.d.ts +79 -0
- package/dist/types/lib/runner/resume.d.ts +73 -0
- package/dist/types/lib/runner/snapshot.d.ts +41 -0
- package/package.json +1 -1
- package/dist/esm/lib/runner/checkpointSanitize.d.ts +0 -44
- package/dist/esm/lib/runner/checkpointSanitize.js +0 -133
- package/dist/lib/runner/checkpointSanitize.js +0 -138
- package/dist/types/lib/runner/checkpointSanitize.d.ts +0 -44
|
@@ -664,9 +664,16 @@ export declare class FlowChartBuilder<TOut = any, TScope = any> {
|
|
|
664
664
|
* function at RUN time). Kept as the builder's door for its mount sites.
|
|
665
665
|
*/
|
|
666
666
|
_prefixNodeTree(node: StageNode<TOut, TScope>, prefix: string): StageNode<TOut, TScope>;
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
667
|
+
/**
|
|
668
|
+
* THE mount of a subflow chart under `id` (F10) — every eager mount site
|
|
669
|
+
* (`addSubFlowChart`, `addSubFlowChartNext`, a decider/selector
|
|
670
|
+
* `addSubFlowChartBranch`) goes through it, and it is the one caller of the
|
|
671
|
+
* prefixer. In order: register the chart's prefixed root under `id`;
|
|
672
|
+
* `place` the mount's own node + spec and fire its structure events; merge
|
|
673
|
+
* the chart's stage map under `id`; register its nested subflows under
|
|
674
|
+
* `id/<key>` (a key already registered is kept).
|
|
675
|
+
*/
|
|
676
|
+
_mountSubflow(id: string, subflow: FlowChart<any, any>, place: () => void): void;
|
|
670
677
|
}
|
|
671
678
|
/**
|
|
672
679
|
* Start a flowchart with its first stage; returns a fluent builder.
|