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