@nsshunt/stsobservability 1.0.82 → 1.0.83

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.
@@ -8976,7 +8976,12 @@ class SocketIoServerHelper {
8976
8976
  __publicField(this, "GetSTSSocketIONamespaces", () => {
8977
8977
  return __privateGet(this, _namespace);
8978
8978
  });
8979
- __publicField(this, "DisconnectSockets", async () => {
8979
+ __publicField(this, "CloseAdaptors", async () => {
8980
+ for (const [, namespace] of Object.entries(__privateGet(this, _namespace))) {
8981
+ await namespace.socketionamespace.adapter.close();
8982
+ }
8983
+ });
8984
+ __publicField(this, "DisconnectSockets", () => {
8980
8985
  for (const [, namespace] of Object.entries(__privateGet(this, _namespace))) {
8981
8986
  namespace.socketionamespace.disconnectSockets();
8982
8987
  }