PHP Class Amp\Failure

Inheritance: implements amp\Observable
Afficher le fichier Open project: amphp/amp

Méthodes publiques

Méthode Description
__construct ( Throwable $exception )
subscribe ( callable $onNext )
when ( callable $onResolved )

Method Details

__construct() public méthode

public __construct ( Throwable $exception )
$exception Throwable Rejection reason.

subscribe() public méthode

public subscribe ( callable $onNext )
$onNext callable

when() public méthode

public when ( callable $onResolved )
$onResolved callable