\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() : bool

Returns true if the queue is empty.

Returns

bool —

add()

add(callable  $task) : mixed

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

Parameters

callable $task

Returns

mixed —

run()

run() : mixed

Execute all of the pending task in the queue.

Returns

mixed —