function clear() {
        $this->limited = true;
        $this->resetTime = \INF;
        
        while($item = \array_shift($this->queue)) {
            unset($item);
        }
        
        while($bucket = \array_shift($this->ratelimits)) {
            unset($bucket);
        }
        
        $this->limited = false;
        $this->resetTime = 0;
    }
function clear() {
        $this->limited = true;
        $this->resetTime = \INF;
        
        while($item = \array_shift($this->queue)) {
            unset($item);
        }
        
        while($bucket = \array_shift($this->ratelimits)) {
            unset($bucket);
        }
        
        $this->limited = false;
        $this->resetTime = 0;
    }
function clear ( ) { $ this -> limited = true ; $ this -> resetTime = \ INF ; while ( $ item = \ array_shift ( $ this -> queue ) ) { unset ( $ item ) ; } while ( $ bucket = \ array_shift ( $ this -> ratelimits ) ) { unset ( $ bucket ) ; } $ this -> limited = false ; $ this -> resetTime = 0 ; }
Clears all buckets and the queue.
@return void
Clears all buckets and the queue .