GuzzleHttpPromiseis_fulfilled

Returns true if a promise is fulfilled.

Description

GuzzleHttp\Promise\is_fulfilled( (PromiseInterface) GuzzleHttp\Promise\PromiseInterface $promise ); 

Parameters (1)

0. $promise (PromiseInterface) => GuzzleHttp\Promise\PromiseInterface $promise
The promise.

Usage

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

Defined (1)

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

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