public function getPending($pendingOnly = false)
    {
        if ($pendingOnly) {
            return count($this->pending);
        }
        return count($this->pending) + count($this->workers) + count($this->results);
    }
public function getPending($pendingOnly = false)
    {
        if ($pendingOnly) {
            return count($this->pending);
        }
        return count($this->pending) + count($this->workers) + count($this->results);
    }
public function getPending ( $ pendingOnly = false ) { if ( $ pendingOnly ) { return count ( $ this -> pending ) ; } return count ( $ this -> pending ) + count ( $ this -> workers ) + count ( $ this -> results ) ; }
Return the total jobs that have NOT completed yet.
Return the total jobs that have NOT completed yet .