|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| add (callable $task) | |
| isEmpty () | |
| run () | |
Definition at line 4 of file TaskQueueInterface.php.
| GuzzleHttp\Promise\TaskQueueInterface::add | ( | callable | $task | ) |
Adds a task to the queue that will be executed the next time run is called.
| callable | $task |
Implemented in GuzzleHttp\Promise\TaskQueue.
| GuzzleHttp\Promise\TaskQueueInterface::isEmpty | ( | ) |
| GuzzleHttp\Promise\TaskQueueInterface::run | ( | ) |
Execute all of the pending task in the queue.
Implemented in GuzzleHttp\Promise\TaskQueue.