Method |
Description |
|
cancel ( Erro\Error | Exceptio\Exception | string | null $reason = null ) : Kraken\Promise\PromiseInterface |
Cancel promise with specified reason. |
|
getPromise ( ) : Kraken\Promise\PromiseInterface |
Return promise representing return value of deferred operation. |
|
reject ( Erro\Error | Exceptio\Exception | string | null $reason = null ) : Kraken\Promise\PromiseInterface |
Reject promise with specified reason. |
|
resolve ( mixed | null $value = null ) : Kraken\Promise\PromiseInterface |
Resolve promise with specified value. |
|