Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
GuzzleHttp\Promise\Is Class Reference

Static Public Member Functions

static fulfilled (PromiseInterface $promise)
 Returns true if a promise is fulfilled.
 
static pending (PromiseInterface $promise)
 
static rejected (PromiseInterface $promise)
 Returns true if a promise is rejected.
 
static settled (PromiseInterface $promise)
 Returns true if a promise is fulfilled or rejected.
 

Member Function Documentation

◆ fulfilled()

static GuzzleHttp\Promise\Is::fulfilled ( PromiseInterface $promise)
static

Returns true if a promise is fulfilled.

Return values
bool

◆ rejected()

static GuzzleHttp\Promise\Is::rejected ( PromiseInterface $promise)
static

Returns true if a promise is rejected.

Return values
bool

◆ settled()

static GuzzleHttp\Promise\Is::settled ( PromiseInterface $promise)
static

Returns true if a promise is fulfilled or rejected.

Return values
bool

The documentation for this class was generated from the following file: