Method Process
Process<TSource, TOther>(IObservable<TSource>, IObservable<TOther>)
Samples elements from the first sequence whenever the second sequence emits a notification.
public IObservable<TSource> Process<TSource, TOther>(IObservable<TSource> source, IObservable<TOther> other)
Parameters
sourceIObservable<TSource>The source sequence to sample.
otherIObservable<TOther>The sequence of sampling notifications.
Returns
- IObservable<TSource>
The sampled observable sequence.
Type Parameters
TSourceThe type of the elements in the
sourcesequence.TOtherThe type of the elements in the
othersequence.
Remarks
Upon each sampling notification, the latest element (if any) emitted by
the source sequence during the last sampling interval
is sent to the resulting sequence.