| Current Path : /var/www/clients/client3/web2/web/vendor/magento/framework/Async/ |
| Current File : /var/www/clients/client3/web2/web/vendor/magento/framework/Async/DeferredInterface.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Framework\Async;
/**
* Describes a value that will be available at later time.
*/
interface DeferredInterface
{
/**
* Wait for and return the value.
*
* @return mixed Value.
* @throws \Throwable When it was impossible to get the value.
*/
public function get();
/**
* Is the process of getting the value is done?
*
* @return bool
*/
public function isDone(): bool;
}