footprintjs 8.0.0 → 8.1.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/CLAUDE.md +1 -1
- package/README.md +1 -1
- package/dist/esm/lib/memory/StageContext.js +4 -2
- package/dist/esm/lib/runner/FlowChartExecutor.js +48 -7
- package/dist/lib/memory/StageContext.js +4 -2
- package/dist/lib/runner/FlowChartExecutor.js +48 -7
- package/dist/types/lib/memory/StageContext.d.ts +3 -1
- package/dist/types/lib/runner/FlowChartExecutor.d.ts +10 -0
- package/package.json +1 -1
|
@@ -107,6 +107,16 @@ export declare class FlowChartExecutor<TOut = any, TScope = any> {
|
|
|
107
107
|
* scope. See `test/lib/pause/cross-executor-resume.test.ts`.
|
|
108
108
|
*/
|
|
109
109
|
private _hasRunBefore;
|
|
110
|
+
/**
|
|
111
|
+
* Re-entrancy guard. `run()` and `resume()` mutate per-run instance state
|
|
112
|
+
* (traverser, runId, execution counter, checkpoint) and clear attached
|
|
113
|
+
* recorders — a second concurrent entry on the SAME executor would
|
|
114
|
+
* interleave runIds and cross-contaminate recorder/narrative state, and
|
|
115
|
+
* `getCheckpoint()` would return whichever run paused last. One executor =
|
|
116
|
+
* one in-flight execution; create an executor per concurrent run.
|
|
117
|
+
* See docs/guides/execution-model.md.
|
|
118
|
+
*/
|
|
119
|
+
private _isExecuting;
|
|
110
120
|
private readonly flowChartArgs;
|
|
111
121
|
/**
|
|
112
122
|
* Create a FlowChartExecutor.
|
package/package.json
CHANGED