@nsshunt/stsrunnerframework 0.0.22 → 0.0.23

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.
@@ -1979,6 +1979,14 @@ class STSWorkerManager {
1979
1979
  runnerEx.instrumentData.message = [];
1980
1980
  }
1981
1981
  __privateGet(this, _telemetryProcessor).ProcessTelemetry(runnerEx.publishInstrumentController, runnerEx.instrumentData);
1982
+ if (workerEx.runnersEvents[runner.id]) {
1983
+ const runnersEvents = workerEx.runnersEvents[runner.id];
1984
+ runnersEvents.forEach((ev) => {
1985
+ if (ev.eventName.localeCompare("Telemetry") === 0) {
1986
+ ev.cb(runnerEx.instrumentData);
1987
+ }
1988
+ });
1989
+ }
1982
1990
  }
1983
1991
  });
1984
1992
  __privateAdd(this, _ProcessCompleted, (workerEx, payloadContents) => {
@@ -1987,7 +1995,7 @@ class STSWorkerManager {
1987
1995
  const runnersEvents = workerEx.runnersEvents[runner.id];
1988
1996
  runnersEvents.forEach((ev) => {
1989
1997
  if (ev.eventName.localeCompare("Completed") === 0) {
1990
- ev.cb();
1998
+ ev.cb(/* @__PURE__ */ new Date());
1991
1999
  }
1992
2000
  });
1993
2001
  }