CoreFiles by mySites.guru
TaskQueueInterface.php24 lines, 433 bytes, from Joomla_5.3.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 5.3.0-alpha2
md5
6f68c4a5cbc69e7d1fb04ad2c6155ab1
sha1
6d65afe77b510a88ec15dcbfa2fdad26916622d3
sha256
88118d95fa86d47e70d55c8f1e31564d5c4b4deeb7135c7c2d749ace57ff1726
<?php

namespace GuzzleHttp\Promise;

interface TaskQueueInterface
{
    /**
     * Returns true if the queue is empty.
     *
     * @return bool
     */
    public function isEmpty();

    /**
     * Adds a task to the queue that will be executed the next time run is
     * called.
     */
    public function add(callable $task);

    /**
     * Execute all of the pending task in the queue.
     */
    public function run();
}

The same content is in 39 releases, Joomla 5.1.0-beta1 to 5.3.0-alpha3. See them all, or every version of this file.