PHP Class Rx\Operator\ReduceOperator

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

Protected Properties

Property Type Description
$accumulator callable
$hasSeed
$seed

Public Methods

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

Method Details

__construct() public method

public __construct ( callable $accumulator, $seed )
$accumulator callable
$seed

__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

$accumulator protected_oe property

protected callable $accumulator
return callable

$hasSeed protected_oe property

protected $hasSeed

$seed protected_oe property

protected $seed