Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
mpyw
Co
Internal
Delayer
PHP Class mpyw\Co\Internal\Delayer
Mostra file
Open project: mpyw/co
Class Usage Examples
Public Methods
Method
Description
add
(
integer
$time
) :
React\Promise\PromiseInterface
Add delay.
consume
( )
Consume delay queue.
isEmpty
( ) :
boolean
Is $untils empty?
sleep
( )
Sleep at least required.
Method Details
add()
public
method
Add delay.
public
add
(
integer
$time
) :
React\Promise\PromiseInterface
$time
integer
return
React\Promise\PromiseInterface
consume()
public
method
Consume delay queue.
public
consume
( )
isEmpty()
public
method
Is $untils empty?
public
isEmpty
( ) :
boolean
return
boolean
sleep()
public
method
Sleep at least required.
public
sleep
( )