PHP Class Amp\Failure

Inheritance: implements amp\Observable
Datei anzeigen Open project: amphp/amp

Public Methods

Method Description
__construct ( Throwable $exception )
subscribe ( callable $onNext )
when ( callable $onResolved )

Method Details

__construct() public method

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

subscribe() public method

public subscribe ( callable $onNext )
$onNext callable

when() public method

public when ( callable $onResolved )
$onResolved callable