dist/client/lance-gg.js
/**
       * Removes the listener that will be fired when any event is emitted.
       *
       * @param listener
       * @public
       */
Removes the listener that will be fired when any event is emitted.
@param listener
@public
Removes the listener that will be fired when any event is emitted . @param listener @public
offAny(listener) {
          if (!this._anyListeners) {
              return this;
          }
          if (listener) {
              const listeners = this._anyListeners;
              for (let i = 0; i < listeners.length; i++) {
                  if (listener === listeners[i]) {
                      listeners.splice(i, 1);
                      return this;
                  }
              }
          }
          else {
              this._anyListeners = [];
          }
          return this;
      }
offAny ( listener ) { if ( ! this . _anyListeners ) { return this ; } if ( listener ) { const listeners = this . _anyListeners ; for ( let i = 0 ; i < listeners . length ; i ++ ) { if ( listener === listeners [ i ] ) { listeners . splice ( i , 1 ) ; return this ; } } } else { this . _anyListeners = [ ] ; } return this ; }
Removes the listener that will be fired when any event is emitted.
Removes the listener that will be fired when any event is emitted .