Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
mpyw
Co
Internal
Delayer
PHP Class mpyw\Co\Internal\Delayer
Mostrar archivo
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
( )