@nsshunt/ststestrunner 1.0.24 → 1.0.26
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/ststestrunner.mjs
CHANGED
|
@@ -11962,19 +11962,25 @@ class FhirSocketClient {
|
|
|
11962
11962
|
}
|
|
11963
11963
|
});
|
|
11964
11964
|
__publicField2(this, "WaitForSocketConnected", async () => {
|
|
11965
|
-
|
|
11966
|
-
|
|
11965
|
+
console.log(chalk.gray(`WaitForSocketConnected(): Waiting for socket connection [Start]`));
|
|
11966
|
+
console.log(chalk.gray(`WaitForSocketConnected(): Attempting to get socket`));
|
|
11967
|
+
const socket = __privateGet$1(this, _socketUtils).GetSocket(__privateGet$1(this, _options2).socketClientName);
|
|
11968
|
+
if (socket) {
|
|
11969
|
+
console.log(chalk.gray(`WaitForSocketConnected(): Socket obtained`));
|
|
11970
|
+
} else {
|
|
11971
|
+
console.log(chalk.gray(`WaitForSocketConnected(): No socket obtained yet ...`));
|
|
11967
11972
|
}
|
|
11968
11973
|
let connected = false;
|
|
11969
11974
|
while (!connected) {
|
|
11970
11975
|
console.log(chalk.gray(`WaitForSocketConnected(): Waiting for socket connection ...`));
|
|
11971
|
-
const socketRetVal = this.
|
|
11972
|
-
if (socketRetVal.connected === true) {
|
|
11976
|
+
const socketRetVal = __privateGet$1(this, _socketUtils).GetSocket(__privateGet$1(this, _options2).socketClientName);
|
|
11977
|
+
if (socketRetVal && socketRetVal.connected === true) {
|
|
11973
11978
|
connected = true;
|
|
11974
11979
|
break;
|
|
11975
11980
|
}
|
|
11976
11981
|
await Sleep(100);
|
|
11977
11982
|
}
|
|
11983
|
+
console.log(chalk.gray(`WaitForSocketConnected(): Waiting for socket connection [End]`));
|
|
11978
11984
|
});
|
|
11979
11985
|
__publicField2(this, "CreateResource", async (resource, domainResource) => {
|
|
11980
11986
|
await this.WaitForSocketConnected();
|