@bian-womp/spark-graph 0.3.25 → 0.3.27
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/lib/cjs/index.cjs +4 -4
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/esm/index.js +4 -4
- package/lib/esm/index.js.map +1 -1
- package/package.json +2 -2
package/lib/esm/index.js
CHANGED
|
@@ -2785,13 +2785,13 @@ class GraphRuntime {
|
|
|
2785
2785
|
gr.handleResolver.setEnvironment(gr.environment);
|
|
2786
2786
|
gr.nodeExecutor.setEnvironment(gr.environment);
|
|
2787
2787
|
// Precompute per-node resolved handles (use def-provided overrides; do not compute dynamically here)
|
|
2788
|
-
const initial = gr.
|
|
2788
|
+
const initial = gr.isPaused()
|
|
2789
2789
|
? {
|
|
2790
2790
|
resolved: new Map(),
|
|
2791
2791
|
pending: new Set(),
|
|
2792
2792
|
}
|
|
2793
2793
|
: tryHandleResolving(def, registry, gr.environment);
|
|
2794
|
-
if (gr.
|
|
2794
|
+
if (gr.isPaused()) {
|
|
2795
2795
|
gr.handleResolvingSkippedRef = def;
|
|
2796
2796
|
}
|
|
2797
2797
|
for (const [nodeId, handles] of initial.resolved) {
|
|
@@ -3298,13 +3298,13 @@ class GraphRuntime {
|
|
|
3298
3298
|
});
|
|
3299
3299
|
{
|
|
3300
3300
|
// Update handles and edges
|
|
3301
|
-
const result = this.
|
|
3301
|
+
const result = this.isPaused()
|
|
3302
3302
|
? {
|
|
3303
3303
|
resolved: new Map(),
|
|
3304
3304
|
pending: new Set(),
|
|
3305
3305
|
}
|
|
3306
3306
|
: tryHandleResolving(def, registry, this.environment);
|
|
3307
|
-
if (this.
|
|
3307
|
+
if (this.isPaused()) {
|
|
3308
3308
|
this.handleResolvingSkippedRef = def;
|
|
3309
3309
|
}
|
|
3310
3310
|
const changedHandles = {};
|