@nsshunt/stsrunnerframework 1.0.143 → 1.0.144
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.
|
@@ -2960,7 +2960,12 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
2960
2960
|
}
|
|
2961
2961
|
});
|
|
2962
2962
|
__privateAdd(this, _PauseWorker, async (workerEx) => {
|
|
2963
|
-
|
|
2963
|
+
const runners = Object.values(workerEx.runnersEx);
|
|
2964
|
+
const promArray = [];
|
|
2965
|
+
for (let i = 0; i < runners.length; i++) {
|
|
2966
|
+
promArray.push(runners[i].Pause());
|
|
2967
|
+
}
|
|
2968
|
+
return Promise.all(promArray);
|
|
2964
2969
|
});
|
|
2965
2970
|
__privateAdd(this, _ResumeWorker, (workerEx) => {
|
|
2966
2971
|
return __privateGet(this, _BroadcastCommandToAllRunners).call(this, workerEx, __privateGet(this, _ResumeRunner2));
|