GuzzleHttpPromiseinspect_all

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

Description

(array) GuzzleHttp\Promise\inspect_all( (PromiseInterface[]) $promises ); 

Returns an array of inspection state arrays.

Returns (array)

Parameters (1)

0. $promises (PromiseInterface[])
Traversable of promises to wait upon.

Usage

  1. if ( !function_exists( 'GuzzleHttp\Promise\inspect_all' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'w3-total-cache/lib/Azure/GuzzleHttp/Promise/functions.php'; 
  3.  
  4. // Traversable of promises to wait upon. 
  5. $promises = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = GuzzleHttp\Promise\inspect_all($promises); 
  9.  

Defined (1)

The function is defined in the following location(s).

/lib/Azure/GuzzleHttp/Promise/functions.php