PluginProbe
StockPack – Stock photos and AI images from Unsplash, Adobe Stock, Freepik and more / 2.1
StockPack – Stock photos and AI images from Unsplash, Adobe Stock, Freepik and more v2.1
3.7.0 3.6.0 3.6.1 3.5.2 trunk 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.6.0 2.6.1 3.0.0 3.0.1 All 71 releases
stockpack / vendor / guzzlehttp / promises / src / TaskQueueInterface.php

TaskQueueInterface.php in StockPack – Stock photos and AI images from Unsplash, Adobe Stock, Freepik and more 2.1, at vendor/guzzlehttp/promises/src/TaskQueueInterface.php

26 lines 468 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace GuzzleHttp\Promise;
3
4 interface TaskQueueInterface
5 {
6 /**
7 * Returns true if the queue is empty.
8 *
9 * @return bool
10 */
11 public function isEmpty();
12
13 /**
14 * Adds a task to the queue that will be executed the next time run is
15 * called.
16 *
17 * @param callable $task
18 */
19 public function add(callable $task);
20
21 /**
22 * Execute all of the pending task in the queue.
23 */
24 public function run();
25 }
26