Automattic\WooCommerce\Vendor\GraphQL\Executor\Promise
PromiseAdapter::all
Given an iterable of promises (or values), returns a promise that is fulfilled when all the items in the iterable are fulfilled.
Method of the class: PromiseAdapter{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PromiseAdapter = new PromiseAdapter(); $PromiseAdapter->all( $promisesOrValues ): Promise;
- $promisesOrValues(iterable<Promise|mixed>) (required)
- .
PromiseAdapter::all() PromiseAdapter::all code WC 10.8.1
public function all(iterable $promisesOrValues): Promise;