|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($iterable, array $config=[]) | |
| promise () | |
Represents a promise that iterates over many promises and invokes side-effect functions in the process.
Definition at line 8 of file EachPromise.php.
| GuzzleHttp\Promise\EachPromise::__construct | ( | $iterable, | |
| array | $config = [] |
||
| ) |
Configuration hash can include the following key value pairs:
| mixed | $iterable | Promises or values to iterate. |
| array | $config | Configuration options |
Definition at line 69 of file EachPromise.php.
References GuzzleHttp\Promise\iter_for().
| GuzzleHttp\Promise\EachPromise::promise | ( | ) |
Returns a promise.
Implements GuzzleHttp\Promise\PromisorInterface.
Definition at line 86 of file EachPromise.php.