Class ConcatMapToOperator
Extension methods implementing the concatMapTo operator.
public static class ConcatMapToOperator
- Inheritance
-
System.ObjectConcatMapToOperator
Methods
ConcatMapTo<TSource, TResult>(Observable<TSource>, Observable<TResult>)
Projects every value from source to the same innerObservable,
regardless of the source value, concatenating each resulting subscription in order. Equivalent to
source.ConcatMap(_ => innerObservable).
public static Observable<TResult> ConcatMapTo<TSource, TResult>(this Observable<TSource> source, Observable<TResult> innerObservable)
Parameters
sourceObservable<TSource>The source sequence.
innerObservableObservable<TResult>The observable to subscribe to for every value emitted by
source.
Returns
- Observable<TResult>
An observable that concatenates the values of every subscription to
innerObservable, in source order.
Type Parameters
TSourceThe type of values emitted by
source.TResultThe type of values emitted by
innerObservable.
Remarks
Marked @deprecated upstream (in favor of concatMap(() => result)) but still present in rxjs
7.8.2, so it is ported here too. Like ConcatMapOperator, this does not port rxjs's deprecated
resultSelector parameter — apply .Map(...) to the result for a projection.