Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
pthreads
PromiseManager
PHP Class pthreads\PromiseManager
Inheritance:
extends
Pool
显示文件
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