interface TaskQueueInterface in Auth0 Single Sign On 8.2
Hierarchy
- interface \GuzzleHttp\Promise\TaskQueueInterface
Expanded class hierarchy of TaskQueueInterface
All classes that implement TaskQueueInterface
File
- vendor/
guzzlehttp/ promises/ src/ TaskQueueInterface.php, line 4
Namespace
GuzzleHttp\PromiseView source
interface TaskQueueInterface {
/**
* Returns true if the queue is empty.
*
* @return bool
*/
public function isEmpty();
/**
* Adds a task to the queue that will be executed the next time run is
* called.
*
* @param callable $task
*/
public function add(callable $task);
/**
* Execute all of the pending task in the queue.
*/
public function run();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TaskQueueInterface:: |
public | function | Adds a task to the queue that will be executed the next time run is called. | 1 |
TaskQueueInterface:: |
public | function | Returns true if the queue is empty. | 1 |
TaskQueueInterface:: |
public | function | Execute all of the pending task in the queue. | 1 |