PHP Класс Icicle\Coroutine\Coroutine

Наследование: extends Promise, implements Icicle\Coroutine\CoroutineInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Generator $generator )
cancel ( Throwable $reason = null )

Приватные методы

Метод Описание
next ( mixed $yielded ) Examines the value yielded from the generator and prepares the next step in interation.

Описание методов

__construct() публичный Метод

public __construct ( Generator $generator )
$generator Generator

cancel() публичный Метод

public cancel ( Throwable $reason = null )
$reason Throwable