You are here

public function TaskQueue::isEmpty in Lockr 7.3

Returns true if the queue is empty.

Return value

bool

Overrides TaskQueueInterface::isEmpty

File

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

Class

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

Namespace

GuzzleHttp\Promise

Code

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