A promise that has been fulfilled.
Thenning off of this promise will invoke the onFulfilled callback
immediately and ignore other callbacks.
CloneableInstantiable
Constants |
Methods |
public __construct( $value) |
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 $value |