PHPDaemon\Core\ComplexJob::isQueueFull PHP Method

isQueueFull() public method

Returns whether or not the queue is full (maxConcurrency option exceed)
public isQueueFull ( ) : boolean
return boolean
    public function isQueueFull()
    {
        return $this->maxConcurrency !== -1 && $this->jobsNum - $this->resultsNum >= $this->maxConcurrency;
    }