Method Process
Process<TSource, TOther>(IObservable<TSource>, IObservable<TOther>)
Returns elements from an observable sequence only until the second sequence emits a notification.
public IObservable<TSource> Process<TSource, TOther>(IObservable<TSource> source, IObservable<TOther> other)
Parameters
source
IObservable<TSource>The sequence to take elements from.
other
IObservable<TOther>The observable sequence indicating the time at which to stop taking elements from the
source
sequence.
Returns
- IObservable<TSource>
An observable sequence containing the elements of the
source
sequence emitted until theother
sequence emits a notification.
Type Parameters
TSource
The type of the elements in the
source
sequence.TOther
The type of the elements in the
other
sequence.