dist/client/lance-gg.js
/**
       * Subscribe to open, close and packet events
       *
       * @private
       */
Subscribe to open, close and packet events
@private
Subscribe to open close and packet events @private
subEvents() {
          if (this.subs)
              return;
          const io = this.io;
          this.subs = [
              on_1.on(io, "open", this.onopen.bind(this)),
              on_1.on(io, "packet", this.onpacket.bind(this)),
              on_1.on(io, "error", this.onerror.bind(this)),
              on_1.on(io, "close", this.onclose.bind(this)),
          ];
      }
subEvents ( ) { if ( this . subs ) return ; const io = this . io ; this . subs = [ on_1 . on ( io , "open" , this . onopen . bind ( this ) ) , on_1 . on ( io , "packet" , this . onpacket . bind ( this ) ) , on_1 . on ( io , "error" , this . onerror . bind ( this ) ) , on_1 . on ( io , "close" , this . onclose . bind ( this ) ) , ] ; }
Subscribe to open, close and packet events
 @private
Subscribe to open close and packet events @private