Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
pthreads
PromiseManager
PHP Class pthreads\PromiseManager
Inheritance:
extends
Pool
Datei anzeigen
Open project: krakjoe/promises
Class Usage Examples
Public Methods
Method
Description
__construct
(
$workers
= 4,
$class
= Worker::class,
$ctor
= [] )
hasWork
( )
manage
(
Promise
$promise
,
Thenable
$thenable
)
Method Details
__construct()
public
method
public
__construct
(
$workers
= 4,
$class
= Worker::class,
$ctor
= [] )
hasWork()
public
method
public
hasWork
( )
manage()
public
method
public
manage
(
Promise
$promise
,
Thenable
$thenable
)
$promise
Promise
$thenable
Thenable