Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Public Member Functions | |
add (callable $task) | |
Adds a task to the queue that will be executed the next time run is called. | |
isEmpty () | |
run () | |
Execute all of the pending task in the queue. | |
GuzzleHttp\Promise\TaskQueueInterface::add | ( | callable | $task | ) |
Adds a task to the queue that will be executed the next time run is called.
Implemented in GuzzleHttp\Promise\TaskQueue.
GuzzleHttp\Promise\TaskQueueInterface::run | ( | ) |
Execute all of the pending task in the queue.
Implemented in GuzzleHttp\Promise\TaskQueue.