src/MultiCurlManager.php
protected function executeNextWaitingRequest()
    {
        if (($this->numberOfParallelRequests === 0 || count($this->runningRequests) < $this->numberOfParallelRequests)
            && count($this->waitingRequests) > 0
        ) {
            $this->executeRequest(reset($this->waitingRequests));
        }
        return $this;
    }
protected function executeNextWaitingRequest()
    {
        if (($this->numberOfParallelRequests === 0 || count($this->runningRequests) < $this->numberOfParallelRequests)
            && count($this->waitingRequests) > 0
        ) {
            $this->executeRequest(reset($this->waitingRequests));
        }
        return $this;
    }
protected function executeNextWaitingRequest ( ) { if ( ( $ this -> numberOfParallelRequests === 0 || count ( $ this -> runningRequests ) < $ this -> numberOfParallelRequests ) && count ( $ this -> waitingRequests ) > 0 ) { $ this -> executeRequest ( reset ( $ this -> waitingRequests ) ) ; } return $ this ; }
Executes the next waiting request, if there is still one to be executed.
@return $this
Executes the next waiting request if there is still one to be executed .