private function EachPromise::advanceIterator in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/promises/src/EachPromise.php \GuzzleHttp\Promise\EachPromise::advanceIterator()
2 calls to EachPromise::advanceIterator()
- EachPromise::refillPending in vendor/
guzzlehttp/ promises/ src/ EachPromise.php - EachPromise::step in vendor/
guzzlehttp/ promises/ src/ EachPromise.php
File
- vendor/
guzzlehttp/ promises/ src/ EachPromise.php, line 165
Class
- EachPromise
- Represents a promise that iterates over many promises and invokes side-effect functions in the process.
Namespace
GuzzleHttp\PromiseCode
private function advanceIterator() {
try {
$this->iterable
->next();
return true;
} catch (\Exception $e) {
$this->aggregate
->reject($e);
return false;
}
}