SampleOperator<T> extension

on

Methods

sample<R>(Observable<R> trigger) Observable<T>
Emits the most recently emitted value from this Observable whenever the trigger emits.
sampleTime(Duration duration, {Scheduler scheduler}) Observable<T>
Emits the most recently emitted value from this Observable within periodic time intervals.