PHP Class React\Promise\Deferred

Inheritance: implements React\Promise\PromisorInterface
ファイルを表示 Open project: reactphp/promise Class Usage Examples

Public Methods

Method Description
__construct ( callable $canceller = null )
promise ( )
reject ( $reason = null )
resolve ( $value = null )

Method Details

__construct() public method

public __construct ( callable $canceller = null )
$canceller callable

promise() public method

public promise ( )

reject() public method

public reject ( $reason = null )

resolve() public method

public resolve ( $value = null )