PHP Class pthreads\Promise

Inheritance: extends Promisable
Exibir arquivo Open project: krakjoe/promises Class Usage Examples

Protected Properties

Property Type Description
$manager
$promised
$worker

Public Methods

Method Description
__construct ( $manager, Promisable $promised )
getManager ( )
getPromised ( $key = null )
getWorker ( )
then ( Thenable $thenable )

Method Details

__construct() public method

public __construct ( $manager, Promisable $promised )
$promised Promisable

getManager() public method

public getManager ( )

getPromised() public method

public getPromised ( $key = null )

getWorker() public method

public getWorker ( )

then() public method

public then ( Thenable $thenable )
$thenable Thenable

Property Details

$manager protected_oe property

protected $manager

$promised protected_oe property

protected $promised

$worker protected_oe property

protected $worker