# media-cloud-sync/1.3.11/includes/sdk/s3/GuzzleHttp/Promise/TaskQueueInterface.php

Media Cloud Sync, version 1.3.11. 22 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/1.3.11/code/includes/sdk/s3/GuzzleHttp/Promise/TaskQueueInterface.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/1.3.11/raw/includes/sdk/s3/GuzzleHttp/Promise/TaskQueueInterface.php
- Modified: 2025-08-17T07:06:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/1.3.11/code/includes/sdk/s3/GuzzleHttp/Promise/TaskQueueInterface.php#L10-L20`.

```php
<?php

declare (strict_types=1);
namespace Dudlewebs\WPMCS\s3\GuzzleHttp\Promise;

interface TaskQueueInterface
{
    /**
     * Returns true if the queue is empty.
     */
    public function isEmpty() : bool;
    /**
     * Adds a task to the queue that will be executed the next time run is
     * called.
     */
    public function add(callable $task) : void;
    /**
     * Execute all of the pending task in the queue.
     */
    public function run() : void;
}

```
