\GuzzleHttp\PromiseIs

Summary

Methods
Properties
Constants
pending()
settled()
fulfilled()
rejected()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

pending()

pending(\GuzzleHttp\Promise\PromiseInterface  $promise) : bool

Returns true if a promise is pending.

Parameters

\GuzzleHttp\Promise\PromiseInterface $promise

Returns

bool —

settled()

settled(\GuzzleHttp\Promise\PromiseInterface  $promise) : bool

Returns true if a promise is fulfilled or rejected.

Parameters

\GuzzleHttp\Promise\PromiseInterface $promise

Returns

bool —

fulfilled()

fulfilled(\GuzzleHttp\Promise\PromiseInterface  $promise) : bool

Returns true if a promise is fulfilled.

Parameters

\GuzzleHttp\Promise\PromiseInterface $promise

Returns

bool —

rejected()

rejected(\GuzzleHttp\Promise\PromiseInterface  $promise) : bool

Returns true if a promise is rejected.

Parameters

\GuzzleHttp\Promise\PromiseInterface $promise

Returns

bool —