sample<R> method

Observable<T> sample<R>(
  1. Observable<R> trigger
)

Emits the most recently emitted value from this Observable whenever the trigger emits.

Implementation

Observable<T> sample<R>(Observable<R> trigger) =>
    SampleObservable<T, R>(this, trigger);