PHP Class React\Promise\PromiseAdapter\CallbackPromiseAdapter

Inheritance: implements React\Promise\PromiseAdapter\PromiseAdapterInterface
显示文件 Open project: reactphp/promise

Public Methods

Method Description
__construct ( array $callbacks )
promise ( )
reject ( )
resolve ( )
settle ( )

Method Details

__construct() public method

public __construct ( array $callbacks )
$callbacks array

promise() public method

public promise ( )

reject() public method

public reject ( )

resolve() public method

public resolve ( )

settle() public method

public settle ( )