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
if ( !function_exists( 'GuzzleHttp\Promise\is_fulfilled' ) ) { require_once ABSPATH . PLUGINDIR . 'w3-total-cache/lib/Azure/GuzzleHttp/Promise/functions.php'; } // The promise. $promise = GuzzleHttp\Promise\PromiseInterface $promise; // NOTICE! Understand what this does before running. $result = GuzzleHttp\Promise\is_fulfilled($promise);
Defined (1)
The function is defined in the following location(s).