src/smart-wss.js
/**
   * Perform reconnection after the timeout period
   * and will loop on hard failures
   */
Perform reconnection after the timeout period
and will loop on hard failures
Perform reconnection after the timeout period and will loop on hard failures
async _retryConnect() {
    while (true) {
      try {
        await wait(this._retryTimeoutMs);
        await this._attemptConnect();
        return;
      } catch (ex) {
        this.emit("error", ex);
      }
    }
  }
async _retryConnect ( ) { while ( true ) { try { await wait ( this . _retryTimeoutMs ) ; await this . _attemptConnect ( ) ; return ; } catch ( ex ) { this . emit ( "error" , ex ) ; } } }
Perform reconnection after the timeout period
 and will loop on hard failures
Perform reconnection after the timeout period and will loop on hard failures
// eslint-disable-next-line