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
RejectTestTrait
getPromiseTestAdapter
React\Promise\PromiseTest\RejectTestTrait::getPromiseTestAdapter PHP Method
RejectTestTrait 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);
RejectTestTrait
alwaysShouldNotSuppressRejection
alwaysShouldNotSuppressRejectionWhenHandlerReturnsANonPromise
alwaysShouldNotSuppressRejectionWhenHandlerReturnsAPromise
alwaysShouldRejectWhenHandlerRejectsForRejection
alwaysShouldRejectWhenHandlerThrowsForRejection
doneShouldInvokeRejectionHandler
doneShouldRecoverWhenRejectionHandlerCatchesException
doneShouldThrowExceptionProvidedAsRejectionValue
doneShouldThrowExceptionThrownByRejectionHandler
doneShouldThrowRejectionExceptionWhenRejectionHandlerRejectsWithException
doneShouldThrowUnhandledRejectionExceptionWhenRejectedWithNonException
doneShouldThrowUnhandledRejectionExceptionWhenRejectionHandlerRejects
doneShouldThrowUnhandledRejectionExceptionWhenRejectionHandlerRetunsPendingPromiseWhichRejectsLater
doneShouldThrowWithDeepNestingPromiseChains
getPromiseTestAdapter
rejectShouldForwardReasonWhenCallbackIsNull
rejectShouldInvokeOtherwiseHandler
rejectShouldMakePromiseImmutable
rejectShouldRejectWithAnImmediateValue
rejectShouldRejectWithFulfilledPromise
rejectShouldRejectWithRejectedPromise