PHP Class Amp\Internal\LazyPromise

Inheritance: implements Interop\Async\Promise
Show file Open project: amphp/amp

Public Methods

Method Description
__construct ( callable $provider )
when ( callable $onResolved )

Method Details

__construct() public method

public __construct ( callable $provider )
$provider callable

when() public method

public when ( callable $onResolved )
$onResolved callable