Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
GuzzleHttp\Promise\TaskQueueInterface Interface Reference
Inheritance diagram for GuzzleHttp\Promise\TaskQueueInterface:
GuzzleHttp\Promise\TaskQueue

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.
 

Member Function Documentation

◆ add()

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.

◆ run()

GuzzleHttp\Promise\TaskQueueInterface::run ( )

Execute all of the pending task in the queue.

Implemented in GuzzleHttp\Promise\TaskQueue.


The documentation for this interface was generated from the following file: