__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare (strict_types=1);
namespace YoastSEO_Vendor\GuzzleHttp\Promise;
final class Is
{
/**
* Returns true if a promise is pending.
*/
public static function pending(\YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface $promise) : bool
{
return $promise->getState() === \YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface::PENDING;
}
/**
* Returns true if a promise is fulfilled or rejected.
*/
public static function settled(\YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface $promise) : bool
{
return $promise->getState() !== \YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface::PENDING;
}
/**
* Returns true if a promise is fulfilled.
*/
public static function fulfilled(\YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface $promise) : bool
{
return $promise->getState() === \YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface::FULFILLED;
}
/**
* Returns true if a promise is rejected.
*/
public static function rejected(\YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface $promise) : bool
{
return $promise->getState() === \YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface::REJECTED;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AggregateException.php | File | 433 B | 0775 |
|
| CancellationException.php | File | 261 B | 0775 |
|
| Coroutine.php | File | 4.26 KB | 0775 |
|
| Create.php | File | 2.26 KB | 0775 |
|
| Each.php | File | 2.6 KB | 0775 |
|
| EachPromise.php | File | 7.37 KB | 0775 |
|
| FulfilledPromise.php | File | 2.17 KB | 0775 |
|
| Is.php | File | 1.22 KB | 0775 |
|
| Promise.php | File | 9.12 KB | 0775 |
|
| PromiseInterface.php | File | 2.82 KB | 0775 |
|
| PromisorInterface.php | File | 302 B | 0775 |
|
| RejectedPromise.php | File | 2.42 KB | 0775 |
|
| RejectionException.php | File | 1.21 KB | 0775 |
|
| TaskQueue.php | File | 2.02 KB | 0775 |
|
| TaskQueueInterface.php | File | 467 B | 0775 |
|
| Utils.php | File | 8.7 KB | 0775 |
|