@bian-womp/spark-graph 0.1.29 → 0.2.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/lib/cjs/index.cjs
CHANGED
|
@@ -750,7 +750,7 @@ class GraphRuntime {
|
|
|
750
750
|
};
|
|
751
751
|
// fire node-start event
|
|
752
752
|
this.emit("stats", { kind: "node-start", nodeId, runId });
|
|
753
|
-
|
|
753
|
+
exec(0);
|
|
754
754
|
};
|
|
755
755
|
const mode = policy.asyncConcurrency ?? "switch";
|
|
756
756
|
if (mode === "drop" && node.activeControllers.size > 0)
|
|
@@ -865,8 +865,7 @@ class GraphRuntime {
|
|
|
865
865
|
e.stats.progress = 0;
|
|
866
866
|
const sig = controller.signal;
|
|
867
867
|
// Fire async conversion using edge's convertAsync (dynamic union aware)
|
|
868
|
-
|
|
869
|
-
.convertAsync(nextVal, sig)
|
|
868
|
+
e.convertAsync(nextVal, sig)
|
|
870
869
|
.then((v) => {
|
|
871
870
|
e.stats.inFlight = false;
|
|
872
871
|
e.stats.lastEndAt = Date.now();
|