dispose() {
    checkIfInstanceIsDisposed(this.disposed);

    clearInterval(this.timer);
    this.timer = null;
    this.queue = {};
    this.disposed = true;

    return true;
  }
/**
   * Cleanup - Empty queue & clear expirer timer
   * */
Empty queue & clear expirer timer
Empty queue & clear expirer timer
dispose() {
    checkIfInstanceIsDisposed(this.disposed);
    clearInterval(this.timer);
    this.timer = null;
    this.queue = {};
    this.disposed = true;
    return true;
  }
dispose ( ) { checkIfInstanceIsDisposed ( this . disposed ) ; clearInterval ( this . timer ) ; this . timer = null ; this . queue = { } ; this . disposed = true ; return true ; }
Cleanup - Empty queue & clear expirer timer
Cleanup - Empty queue & clear expirer timer