You are here

function inspect_all in Auth0 Single Sign On 8.2

Waits on all of the provided promises, but does not unwrap rejected promises as thrown exception.

Returns an array of inspection state arrays.

Parameters

PromiseInterface[] $promises Traversable of promises to wait upon.:

Return value

array

See also

GuzzleHttp\Promise\inspect for the inspection state array format.

File

vendor/guzzlehttp/promises/src/functions.php, line 174

Namespace

GuzzleHttp\Promise

Code

function inspect_all($promises) {
  $results = [];
  foreach ($promises as $key => $promise) {
    $results[$key] = inspect($promise);
  }
  return $results;
}