PHP Class Rx\Operator\TakeWhileOperator

Inheritance: implements Rx\Operator\OperatorInterface
Datei anzeigen Open project: ReactiveX/RxPHP

Public Methods

Method Description
__construct ( callable $predicate )
__invoke ( Rx\ObservableInterface $observable, Rx\ObserverInterface $observer, Rx\SchedulerInterface $scheduler = null ) : Rx\DisposableInterface

Method Details

__construct() public method

public __construct ( callable $predicate )
$predicate callable

__invoke() public method

public __invoke ( Rx\ObservableInterface $observable, Rx\ObserverInterface $observer, Rx\SchedulerInterface $scheduler = null ) : Rx\DisposableInterface
$observable Rx\ObservableInterface
$observer Rx\ObserverInterface
$scheduler Rx\SchedulerInterface
return Rx\DisposableInterface