YoastSEO_Vendor\GuzzleHttp\Promise
coroutine() Yoast 1.0
Хуков нет.
Возвращает
PromiseInterface.
Использование
coroutine( $generatorFn );
- $generatorFn(callable) (обязательный)
Заметки
- Смотрите: Coroutine
Код coroutine() coroutine Yoast 15.6.2
function coroutine(callable $generatorFn)
{
return new \YoastSEO_Vendor\GuzzleHttp\Promise\Coroutine($generatorFn);
}