@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 CHANGED
@@ -2787,13 +2787,13 @@ class GraphRuntime {
2787
2787
  gr.handleResolver.setEnvironment(gr.environment);
2788
2788
  gr.nodeExecutor.setEnvironment(gr.environment);
2789
2789
  // Precompute per-node resolved handles (use def-provided overrides; do not compute dynamically here)
2790
- const initial = gr.pauseRefCount
2790
+ const initial = gr.isPaused()
2791
2791
  ? {
2792
2792
  resolved: new Map(),
2793
2793
  pending: new Set(),
2794
2794
  }
2795
2795
  : tryHandleResolving(def, registry, gr.environment);
2796
- if (gr.pauseRefCount) {
2796
+ if (gr.isPaused()) {
2797
2797
  gr.handleResolvingSkippedRef = def;
2798
2798
  }
2799
2799
  for (const [nodeId, handles] of initial.resolved) {
@@ -3300,13 +3300,13 @@ class GraphRuntime {
3300
3300
  });
3301
3301
  {
3302
3302
  // Update handles and edges
3303
- const result = this.pauseRefCount
3303
+ const result = this.isPaused()
3304
3304
  ? {
3305
3305
  resolved: new Map(),
3306
3306
  pending: new Set(),
3307
3307
  }
3308
3308
  : tryHandleResolving(def, registry, this.environment);
3309
- if (this.pauseRefCount) {
3309
+ if (this.isPaused()) {
3310
3310
  this.handleResolvingSkippedRef = def;
3311
3311
  }
3312
3312
  const changedHandles = {};