PHP Class Rx\Operator\TakeLastOperator

Inheritance: implements Rx\Operator\OperatorInterface
Show file Open project: ReactiveX/RxPHP

Public Methods

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

Method Details

__construct() public method

public __construct ( $count )

__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