Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
TaskQueueInterface.php
01 <?php
02
03 namespace GuzzleHttp\Promise;
04
05 interface TaskQueueInterface
06 {
07 /**
08 * Returns true if the queue is empty.
09 *
10 * @return bool
11 */
12 public function isEmpty();
13
14 /**
15 * Adds a task to the queue that will be executed the next time run is
16 * called.
17 */
18 public function add(callable $task);
19
20 /**
21 * Execute all of the pending task in the queue.
22 */
23 public function run();
24 }
25