Метод |
Описание |
|
__construct ( $reason = null ) |
|
|
__destruct ( ) |
|
|
abort ( callable $onCancel ) |
|
|
always ( callable $onFulfilledOrRejected ) |
|
|
cancel ( $reason = null ) |
|
|
done ( callable $onFulfilled = null, callable $onRejected = null, callable $onCancel = null ) |
|
|
failure ( callable $onFailure ) |
|
|
getPromise ( ) |
|
|
isCancelled ( ) |
|
|
isFulfilled ( ) |
|
|
isPending ( ) |
|
|
isRejected ( ) |
|
|
reject ( $reason = null ) |
|
|
resolve ( $value = null ) |
|
|
spread ( callable $onFulfilled = null, callable $onRejected = null, callable $onCancel = null ) |
|
|
success ( callable $onSuccess ) |
|
|
then ( callable $onFulfilled = null, callable $onRejected = null, callable $onCancel = null ) |
|
|