A promise that has been rejected.
Thenning off of this promise will invoke the onRejected callback
immediately and ignore other callbacks.
Cloneable
Instantiable
Constants |
Methods |
public __construct ( $reason ) |
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 $reason |