PHP Class pthreads\Promise

Inheritance: extends Promisable
Afficher le fichier Open project: krakjoe/promises Class Usage Examples

Protected Properties

Свойство Type Description
$manager
$promised
$worker

Méthodes publiques

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

Method Details

__construct() public méthode

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

getManager() public méthode

public getManager ( )

getPromised() public méthode

public getPromised ( $key = null )

getWorker() public méthode

public getWorker ( )

then() public méthode

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