PHP Class Rx\Operator\DistinctOperator

Inheritance: implements Rx\Operator\OperatorInterface
Exibir arquivo Open project: ReactiveX/RxPHP

Protected Properties

Property Type Description
$comparer callable
$keySelector callable

Public Methods

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

Method Details

__construct() public method

public __construct ( callable $keySelector = null, callable $comparer = null )
$keySelector callable
$comparer 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

Property Details

$comparer protected_oe property

protected callable $comparer
return callable

$keySelector protected_oe property

protected callable $keySelector
return callable