@cadenza.io/core 3.9.0 → 3.9.2
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/README.md +74 -37
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -816,7 +816,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
816
816
|
}
|
|
817
817
|
});
|
|
818
818
|
});
|
|
819
|
-
if (context.__previousTaskExecutionId) {
|
|
819
|
+
if (!this.silent && context.__previousTaskExecutionId) {
|
|
820
820
|
this.emitMetricsWithMetadata(
|
|
821
821
|
"meta.node.detected_previous_task_execution",
|
|
822
822
|
{
|
|
@@ -3237,11 +3237,11 @@ var Cadenza = class {
|
|
|
3237
3237
|
throw new Error("Task or Routine name must be a non-empty string.");
|
|
3238
3238
|
}
|
|
3239
3239
|
}
|
|
3240
|
-
static
|
|
3241
|
-
this.runner
|
|
3240
|
+
static run(task, context) {
|
|
3241
|
+
this.runner?.run(task, context);
|
|
3242
3242
|
}
|
|
3243
|
-
static
|
|
3244
|
-
this.
|
|
3243
|
+
static emit(event, data = {}) {
|
|
3244
|
+
this.broker?.emit(event, data);
|
|
3245
3245
|
}
|
|
3246
3246
|
/**
|
|
3247
3247
|
* Creates a standard Task and registers it in the GraphRegistry.
|