PHP Класс Icicle\Observable\Internal\EmitQueue

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Icicle\Observable\Observable $observable )
complete ( mixed $value ) Marks the observable as complete.
decrement ( ) Decrements the number of listening iterators. Marks the queue as disposed if the count reaches 0.
fail ( Throwable $exception ) Marks the observable as complete with the given error.
increment ( ) Increments the number of listening iterators.
isComplete ( ) : boolean
isFailed ( ) : boolean
pull ( ) : Icicle\Observable\Internal\Placeholder
push ( mixed $value ) : Generator

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

Метод Описание
emit ( mixed $value ) : Awaitable

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

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

public __construct ( Icicle\Observable\Observable $observable )
$observable Icicle\Observable\Observable

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

Marks the observable as complete.
public complete ( mixed $value )
$value mixed Observable return value.

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

Decrements the number of listening iterators. Marks the queue as disposed if the count reaches 0.
public decrement ( )

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

Marks the observable as complete with the given error.
public fail ( Throwable $exception )
$exception Throwable

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

Increments the number of listening iterators.
public increment ( )

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

public isComplete ( ) : boolean
Результат boolean

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

public isFailed ( ) : boolean
Результат boolean

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

public pull ( ) : Icicle\Observable\Internal\Placeholder
Результат Icicle\Observable\Internal\Placeholder

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

public push ( mixed $value ) : Generator
$value mixed
Результат Generator