Toggle navigation
Hot Examples
JP
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