PHP Class pthreads\PromiseManager

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

Méthodes publiques

Méthode Description
__construct ( $workers = 4, $class = Worker::class, $ctor = [] )
hasWork ( )
manage ( Promise $promise, Thenable $thenable )

Method Details

__construct() public méthode

public __construct ( $workers = 4, $class = Worker::class, $ctor = [] )

hasWork() public méthode

public hasWork ( )

manage() public méthode

public manage ( Promise $promise, Thenable $thenable )
$promise Promise
$thenable Thenable