Method |
Description |
|
__construct ( string $pid, callable $success = null, callable $failure = null, callable $cancel = null, float $timeout ) |
|
|
__destruct ( ) |
|
|
cancel ( Erro\Error | Exceptio\Exception | ThrowableProxy $ex ) : mixed |
Cancel Request calling cancellation handler. |
|
getPid ( ) : string |
Return protocol ID. |
|
getTimeout ( ) : float |
Return timeout. |
|
onCancel ( ) : callable |
Return cancellation handler. |
|
onFailure ( ) : callable |
Return failure handler. |
|
onSuccess ( ) : callable |
Return success handler. |
|
reject ( Erro\Error | Exceptio\Exception | ThrowableProxy $ex ) : mixed |
Reject Request calling failure handler. |
|
resolve ( mixed $value ) : mixed |
Resolve Request calling success handler. |
|