private function Promise::invokeWaitList in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/promises/src/Promise.php \GuzzleHttp\Promise\Promise::invokeWaitList()
1 call to Promise::invokeWaitList()
- Promise::waitIfPending in vendor/
guzzlehttp/ promises/ src/ Promise.php
File
- vendor/
guzzlehttp/ promises/ src/ Promise.php, line 254
Class
- Promise
- Promises/A+ implementation that avoids recursion when possible.
Namespace
GuzzleHttp\PromiseCode
private function invokeWaitList() {
$waitList = $this->waitList;
$this->waitList = null;
foreach ($waitList as $result) {
descend:
$result
->waitIfPending();
if ($result->result instanceof Promise) {
$result = $result->result;
goto descend;
}
}
}