Documentation

Is
in package

Table of Contents

fulfilled()  : bool
Returns true if a promise is fulfilled.
pending()  : bool
Returns true if a promise is pending.
rejected()  : bool
Returns true if a promise is rejected.
settled()  : bool
Returns true if a promise is fulfilled or rejected.

Methods

settled()

Returns true if a promise is fulfilled or rejected.

public static settled(PromiseInterface $promise) : bool
Parameters
$promise : PromiseInterface
Return values
bool

Search results