@workglow/task-graph 0.0.70 → 0.0.72
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/browser.js +3 -4
- package/dist/browser.js.map +4 -4
- package/dist/bun.js +3 -4
- package/dist/bun.js.map +4 -4
- package/dist/node.js +3 -4
- package/dist/node.js.map +4 -4
- package/dist/task/ArrayTask.d.ts.map +1 -1
- package/dist/task/GraphAsTaskRunner.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/bun.js
CHANGED
|
@@ -1458,7 +1458,7 @@ class GraphAsTaskRunner extends TaskRunner {
|
|
|
1458
1458
|
const runExecuteOutputData = await this.executeTaskChildren(input);
|
|
1459
1459
|
this.task.runOutputData = this.task.subGraph.mergeExecuteOutputsToRunOutput(runExecuteOutputData, this.task.compoundMerge);
|
|
1460
1460
|
} else {
|
|
1461
|
-
const result = await super.executeTask(
|
|
1461
|
+
const result = await super.executeTask(input);
|
|
1462
1462
|
this.task.runOutputData = result ?? {};
|
|
1463
1463
|
}
|
|
1464
1464
|
return this.task.runOutputData;
|
|
@@ -1468,7 +1468,7 @@ class GraphAsTaskRunner extends TaskRunner {
|
|
|
1468
1468
|
const reactiveResults = await this.executeTaskChildrenReactive();
|
|
1469
1469
|
this.task.runOutputData = this.task.subGraph.mergeExecuteOutputsToRunOutput(reactiveResults, this.task.compoundMerge);
|
|
1470
1470
|
} else {
|
|
1471
|
-
const reactiveResults = await super.executeTaskReactive(
|
|
1471
|
+
const reactiveResults = await super.executeTaskReactive(input, output);
|
|
1472
1472
|
this.task.runOutputData = reactiveResults ?? output ?? {};
|
|
1473
1473
|
}
|
|
1474
1474
|
return this.task.runOutputData;
|
|
@@ -2364,7 +2364,6 @@ class ArrayTask extends GraphAsTask {
|
|
|
2364
2364
|
super.regenerateGraph();
|
|
2365
2365
|
return;
|
|
2366
2366
|
}
|
|
2367
|
-
this.subGraph = new TaskGraph;
|
|
2368
2367
|
const inputIds = Array.from(arrayInputs.keys());
|
|
2369
2368
|
const inputObject = Object.fromEntries(arrayInputs);
|
|
2370
2369
|
const combinations = this.generateCombinations(inputObject, inputIds);
|
|
@@ -2968,4 +2967,4 @@ export {
|
|
|
2968
2967
|
ArrayTask
|
|
2969
2968
|
};
|
|
2970
2969
|
|
|
2971
|
-
//# debugId=
|
|
2970
|
+
//# debugId=EDD528E1FE29998664756E2164756E21
|