Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Icicle
Coroutine
Coroutine
PHP Class Icicle\Coroutine\Coroutine
Inheritance:
extends
Promise
,
implements
Icicle\Coroutine\CoroutineInterface
Exibir arquivo
Open project: icicleio/icicle
Class Usage Examples
Public Methods
Method
Description
__construct
(
Generator
$generator
)
cancel
(
Throwable
$reason
= null )
Private Methods
Method
Description
next
(
mixed
$yielded
)
Examines the value yielded from the generator and prepares the next step in interation.
Method Details
__construct()
public
method
public
__construct
(
Generator
$generator
)
$generator
Generator
cancel()
public
method
public
cancel
(
Throwable
$reason
= null )
$reason
Throwable