@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.mjs CHANGED
@@ -708,10 +708,10 @@ var GraphNode = class _GraphNode extends SignalEmitter {
708
708
  __scheduled: Date.now()
709
709
  });
710
710
  const context = this.context.getFullContext();
711
- if (context.__signalName !== void 0 && !context.__signalName.includes("meta.")) {
711
+ if (context.__emittedSignal !== void 0 && context.__consumedByNode === void 0 && !context.__emittedSignal.includes("meta.")) {
712
712
  this.emit("meta.node.consumed_signal", {
713
713
  __signal_log: {
714
- signal_name: context.__signalName,
714
+ signal_name: context.__emittedSignal,
715
715
  log_type: "consume",
716
716
  consumed_by_task_id: this.task.id,
717
717
  task_execution_id: this.id,
@@ -720,6 +720,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
720
720
  is_meta: false
721
721
  }
722
722
  });
723
+ context.__consumedByNode = this.id;
723
724
  }
724
725
  }
725
726
  }