You are here

public function TaskQueue::isEmpty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/promises/src/TaskQueue.php \GuzzleHttp\Promise\TaskQueue::isEmpty()

Returns true if the queue is empty.

Return value

bool

File

vendor/guzzlehttp/promises/src/TaskQueue.php, line 38

Class

TaskQueue
A task queue that executes tasks in a FIFO order.

Namespace

GuzzleHttp\Promise

Code

public function isEmpty() {
  return !$this->queue;
}