Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: