@cadenza.io/core 3.0.15 → 3.0.16
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/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -863,6 +863,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
863
863
|
return this.executionStart;
|
|
864
864
|
}
|
|
865
865
|
end() {
|
|
866
|
+
var _a;
|
|
866
867
|
if (this.executionStart === 0) {
|
|
867
868
|
return 0;
|
|
868
869
|
}
|
|
@@ -896,10 +897,12 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
896
897
|
filter: { uuid: this.id }
|
|
897
898
|
});
|
|
898
899
|
if (this.graphDone()) {
|
|
899
|
-
this.
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
900
|
+
const context2 = this.context.export();
|
|
901
|
+
if ((_a = context2.context.__metadata) == null ? void 0 : _a.__deputyExecId)
|
|
902
|
+
this.emitWithMetadata(
|
|
903
|
+
`meta.node.graph_completed:${context2.context.__metadata.__deputyExecId}`,
|
|
904
|
+
context2
|
|
905
|
+
);
|
|
903
906
|
this.emitMetricsWithMetadata(
|
|
904
907
|
`meta.node.ended_routine_execution:${this.routineExecId}`,
|
|
905
908
|
{
|