@cadenza.io/core 1.9.0 → 1.9.1

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 CHANGED
@@ -746,10 +746,10 @@ var GraphNode = class _GraphNode extends SignalEmitter {
746
746
  __scheduled: Date.now()
747
747
  });
748
748
  const context = this.context.getFullContext();
749
- if (context.__signalName !== void 0 && !context.__signalName.includes("meta.")) {
749
+ if (context.__emittedSignal !== void 0 && context.__consumedByNode === void 0 && !context.__emittedSignal.includes("meta.")) {
750
750
  this.emit("meta.node.consumed_signal", {
751
751
  __signal_log: {
752
- signal_name: context.__signalName,
752
+ signal_name: context.__emittedSignal,
753
753
  log_type: "consume",
754
754
  consumed_by_task_id: this.task.id,
755
755
  task_execution_id: this.id,
@@ -758,6 +758,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
758
758
  is_meta: false
759
759
  }
760
760
  });
761
+ context.__consumedByNode = this.id;
761
762
  }
762
763
  }
763
764
  }