\GuzzleHttp\PromiseTaskQueueInterface

Summary

Methods
Constants
isEmpty()
add()
run()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

isEmpty()

isEmpty() : boolean

Returns true if the queue is empty.

Returns

boolean

add()

add(callable  $task) 

Adds a task to the queue that will be executed the next time run is called.

Parameters

callable $task

run()

run() 

Execute all of the pending task in the queue.