You are here

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

Execute all of the pending task in the queue.

Overrides TaskQueueInterface::run

1 call to TaskQueue::run()
TaskQueue::__construct in vendor/guzzlehttp/promises/src/TaskQueue.php

File

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

Class

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

Namespace

GuzzleHttp\Promise

Code

public function run() {

  /** @var callable $task */
  while ($task = array_shift($this->queue)) {
    $task();
  }
}