@nsshunt/stsvueutils 1.0.88 → 1.0.90
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/stsvueutils.mjs
CHANGED
|
@@ -5259,6 +5259,7 @@ class STSWorkerManager {
|
|
|
5259
5259
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5260
5260
|
__privateAdd(this, _app, void 0);
|
|
5261
5261
|
__publicField(this, "AddWorker", async (useWorkerFactory) => {
|
|
5262
|
+
var _a;
|
|
5262
5263
|
let workerFactory;
|
|
5263
5264
|
if (useWorkerFactory) {
|
|
5264
5265
|
workerFactory = useWorkerFactory;
|
|
@@ -5278,7 +5279,7 @@ class STSWorkerManager {
|
|
|
5278
5279
|
StopRunner: (runner) => __privateGet(this, _StopRunner).call(this, stsWorkerEx, runner),
|
|
5279
5280
|
Stop: async () => __privateGet(this, _StopWorker).call(this, stsWorkerEx)
|
|
5280
5281
|
};
|
|
5281
|
-
__privateGet(this, _STSInstrumentController).LogEx(chalk$1.yellow(`Creating new worker: [${stsWorkerEx.id}]`));
|
|
5282
|
+
(_a = __privateGet(this, _STSInstrumentController)) == null ? void 0 : _a.LogEx(chalk$1.yellow(`Creating new worker: [${stsWorkerEx.id}]`));
|
|
5282
5283
|
console.log(`Adding worker: [${stsWorkerEx.id}]`);
|
|
5283
5284
|
stsWorkerEx.worker.onmessage = function(data) {
|
|
5284
5285
|
console.log(data.data);
|
|
@@ -5449,8 +5450,9 @@ class STSWorkerManager {
|
|
|
5449
5450
|
}
|
|
5450
5451
|
});
|
|
5451
5452
|
__privateAdd(this, _CreateAsyncRunner, (workerEx, runnerOptions) => {
|
|
5453
|
+
var _a;
|
|
5452
5454
|
__privateWrapper(this, _runner)._++;
|
|
5453
|
-
__privateGet(this, _STSInstrumentController).LogEx(chalk$1.yellow(`Creating new async runner: [${__privateGet(this, _runner)}]`));
|
|
5455
|
+
(_a = __privateGet(this, _STSInstrumentController)) == null ? void 0 : _a.LogEx(chalk$1.yellow(`Creating new async runner: [${__privateGet(this, _runner)}]`));
|
|
5454
5456
|
const asyncRunnerContext = {
|
|
5455
5457
|
nid: `${workerEx.workerThreadWorkerOptions.hostName}${ModelDelimeter.COMPONENT_SEPERATOR}${workerEx.workerThreadWorkerOptions.agentId}-${workerEx.workerThreadWorkerOptions.userAgent}${ModelDelimeter.NID_SEPERATOR}worker${workerEx.id}${ModelDelimeter.SEPERATOR}${__privateGet(this, _runner)}`,
|
|
5456
5458
|
id: __privateGet(this, _runner).toString(),
|
|
@@ -5624,19 +5626,22 @@ class STSWorkerManager {
|
|
|
5624
5626
|
} else {
|
|
5625
5627
|
__privateSet(this, _options, {});
|
|
5626
5628
|
}
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
console.log(chalk$1.yellow(
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5629
|
+
setTimeout(() => {
|
|
5630
|
+
console.log(chalk$1.yellow(`CompareSTSInstrumentControllerPluginKeyWMEx(): [${CompareSTSInstrumentControllerPluginKeyWMEx()}]`));
|
|
5631
|
+
console.log(chalk$1.yellow(`Attempting to get STSInstrumentControllerPlugin using symbol: [${String(STSInstrumentControllerPluginKey)}]`));
|
|
5632
|
+
__privateSet(this, _STSInstrumentController, app.config.globalProperties.$sts.aic);
|
|
5633
|
+
console.log(chalk$1.yellow(GetSTSInstrumentController(app)));
|
|
5634
|
+
console.log(chalk$1.yellow(app.config.globalProperties.$sts[STSInstrumentControllerPluginKey]));
|
|
5635
|
+
console.log(chalk$1.yellow(__privateGet(this, _STSInstrumentController)));
|
|
5636
|
+
console.log(chalk$1.yellow(app.config.globalProperties.$sts.aic));
|
|
5637
|
+
console.log(chalk$1.yellow("keys within app.config.globalProperties.$sts"));
|
|
5638
|
+
for (const [key] of Object.entries(app.config.globalProperties.$sts)) {
|
|
5639
|
+
console.log(chalk$1.yellow(`${key}`));
|
|
5640
|
+
}
|
|
5641
|
+
if (!__privateGet(this, _STSInstrumentController)) {
|
|
5642
|
+
console.log(chalk$1.yellow(`Failed to get STSInstrumentControllerPlugin using symbol: [${String(STSInstrumentControllerPluginKey)}]`));
|
|
5643
|
+
}
|
|
5644
|
+
}, 0);
|
|
5640
5645
|
}
|
|
5641
5646
|
get WorkersEx() {
|
|
5642
5647
|
return __privateGet(this, _workersEx);
|