GuzzleHttpPromisesettle

Returns a promise that is fulfilled when all of the provided promises have been fulfilled or rejected.

Description

GuzzleHttp\Promise\settle( (mixed) $promises ); 

The returned promise is fulfilled with an array of inspection state arrays.

Parameters (1)

0. $promises (mixed)
Promises or values.

Usage

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

Defined (1)

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

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