You are here

public function TaskQueue::isEmpty in Auth0 Single Sign On 8.2

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;
}