Represents a promise that iterates over many promises and invokes side-effect functions in the process.
- final
CloneableInstantiable
Methods |
public __construct( $iterable, array $config = []) Configuration hash can include the following key value pairs:
|
public promise() : GuzzleHttp
|
Properties |
private $aggregate = NULL
|
private $concurrency = NULL
|
private $iterable = NULL
|
private $mutex = NULL
|
private $nextPendingIndex = 0 |
private $onFulfilled = NULL
|
private $onRejected = NULL
|
private $pending = [] |
Methods |
private addPending() : bool |
private advanceIterator() : bool |
private checkIfFinished() : bool |
private createPromise() : void |
private refillPending() : void |
private step(int $idx) : void |