PHP 클래스 Icicle\Coroutine\Coroutine

상속: extends Promise, implements Icicle\Coroutine\CoroutineInterface
파일 보기 프로젝트 열기: icicleio/icicle 1 사용 예제들

공개 메소드들

메소드 설명
__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