YoastSEO_Vendor\GuzzleHttp\Promise
PromiseInterface::wait() public Yoast 1.0
Waits until the promise completes if possible.
Pass $unwrap as true to unwrap the result of the promise, either returning the resolved value or throwing the rejected exception.
If the promise cannot be waited on, then the promise will be rejected.
{} Это метод класса: PromiseInterface{}
Хуков нет.
Возвращает
Разное.
Использование
$PromiseInterface = new PromiseInterface(); $PromiseInterface->wait( $unwrap );
- $unwrap(true/false)
По умолчанию: \true
Код PromiseInterface::wait() PromiseInterface::wait Yoast 15.6.2
public function wait($unwrap = \true);