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
React
Promise
PromiseTest
CancelTestTrait
getPromiseTestAdapter
React\Promise\PromiseTest\CancelTestTrait::getPromiseTestAdapter PHP Method
CancelTestTrait Trait Documentation
Show file
Open project: reactphp/promise
getPromiseTestAdapter()
abstract
public
method
abstract
public
getPromiseTestAdapter
(
callable
$canceller
= null ) :
React\Promise\PromiseAdapter\PromiseAdapterInterface
$canceller
callable
return
React\Promise\PromiseAdapter\PromiseAdapterInterface
public abstract function getPromiseTestAdapter(callable $canceller = null);
CancelTestTrait
cancelCalledOnChildrenSouldOnlyCancelWhenAllChildrenCancelled
cancelShouldAlwaysTriggerCancellerWhenCalledOnRootPromise
cancelShouldCallCancellerFromDeepNestedPromiseChain
cancelShouldCallCancellerOnlyOnceIfCancellerResolves
cancelShouldCallCancellerWithResolverArguments
cancelShouldFulfillPromiseIfCancellerFulfills
cancelShouldHaveNoEffectIfCancellerDoesNothing
cancelShouldNotTriggerCancellerWhenCancellingOneChildrenMultipleTimes
cancelShouldRejectPromiseIfCancellerRejects
cancelShouldRejectPromiseWithExceptionIfCancellerThrows
cancelShouldTriggerCancellerOnlyOnceWhenCancellingMultipleTimes
cancelShouldTriggerCancellerWhenAllChildrenCancel
getPromiseTestAdapter