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