Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Kraken
_Unit
Promise
_Partial
ApiCancelPartial
createDeferred
Kraken\_Unit\Promise\_Partial\ApiCancelPartial::createDeferred PHP Method
ApiCancelPartial Trait Documentation
Show file
Open project: kraken-php/framework
createDeferred()
abstract
public
method
abstract
public
createDeferred
( ) :
Kraken\Promise\DeferredInterface
return
Kraken\Promise\DeferredInterface
public abstract function createDeferred();
ApiCancelPartial
createDeferred
getTest
testApiAlways_DoesNotSuppressCancellation
testApiAlways_DoesNotSuppressCancellation_WhenHandlerReturnsNonPromise
testApiAlways_DoesNotSuppressCancellation_WhenHandlerReturnsPromise
testApiCancel_CallsCancellerOnce_IfCalledMultipleTimes
testApiCancel_CallsCanceller_FromDeepNestedPromiseChain
testApiCancel_CallsCanceller_OnAllChildrenWhenCalledOnRootPromise
testApiCancel_CancelPromiseOnce_WhenCancellingMultipleTimes
testApiCancel_CancelsPromise_InRightOrder
testApiCancel_CancelsPromise_WhenAllChildrenCancelled
testApiCancel_CancelsPromise_WithAnImmediateValue
testApiCancel_CancelsPromise_WithPromisedValue
testApiCancel_CancelsPromise_WithRejectedPromise
testApiCancel_DoesNotCancelPromise_WhenOneChildCancelled
testApiCancel_DoesNotCancelPromise_WhenOneChildCancelledMultipleTimes
testApiCancel_ForwardsReason_WhenCallbackIsNull
testApiCancel_ForwardsReason_WithoutChange
testApiCancel_ForwardsReason_WithoutChange_WhenOnCancelThrows
testApiCancel_InvokesDoneCancellationHandler
testApiCancel_ReturnsCancelledPromise
testApiCancel_Returns_FromCancellationHandler
testApiCancel_ThrowsExceptionInDone_FromCancellationHandler
testApiCancel_ThrowsExceptionInDone_WhenCancellationHandlerRejects