A promise that has been fulfilled.

Thenning off of this promise will invoke the onFulfilled callback
immediately and ignore other callbacks.

CloneableInstantiable
ImplementsGuzzleHttp\Promise\PromiseInterface
Constants
public GuzzleHttp\Promise\PromiseInterface::FULFILLED = 'fulfilled'
public GuzzleHttp\Promise\PromiseInterface::PENDING = 'pending'
public GuzzleHttp\Promise\PromiseInterface::REJECTED = 'rejected'
Methods
public __construct( $value)
public cancel()
public getState()
public otherwise(callable $onRejected)
public reject( $reason)
public resolve( $value)
public then(?callable $onFulfilled = NULL, ?callable $onRejected = NULL)
public wait( $unwrap = true, $defaultDelivery = NULL)
Properties
private $value
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only