PHP Class Icicle\Awaitable\Internal\RejectedAwaitable

Inheritance: extends Icicle\Awaitable\Internal\ResolvedAwaitable
Afficher le fichier Open project: icicleio/icicle

Méthodes publiques

Méthode Description
__construct ( Throwable $reason )
done ( callable $onFulfilled = null, callable $onRejected = null )
isFulfilled ( ) : boolean
isRejected ( ) : boolean
then ( callable $onFulfilled = null, callable $onRejected = null ) : Icicle\Awaitable\Awaitable
wait ( )

Method Details

__construct() public méthode

public __construct ( Throwable $reason )
$reason Throwable

done() public méthode

public done ( callable $onFulfilled = null, callable $onRejected = null )
$onFulfilled callable
$onRejected callable

isFulfilled() public méthode

public isFulfilled ( ) : boolean
Résultat boolean

isRejected() public méthode

public isRejected ( ) : boolean
Résultat boolean

then() public méthode

public then ( callable $onFulfilled = null, callable $onRejected = null ) : Icicle\Awaitable\Awaitable
$onFulfilled callable
$onRejected callable
Résultat Icicle\Awaitable\Awaitable

wait() public méthode

public wait ( )