Export (0) Print
Expand All

Qbservable.Merge<TSource> Method (IQbservable<IObservable<TSource>>, Int32)

Merges an enumerable sequence of queryable observable sequences into a queryable observable sequence, limiting the number of concurrent subscriptions to inner sequences.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

public static IQbservable<TSource> Merge<TSource>(
	this IQbservable<IObservable<TSource>> sources,
	int maxConcurrent
)

Type Parameters

TSource

The type of source.

Parameters

sources
Type: System.Reactive.Linq.IQbservable<IObservable<TSource>>
The queryable observable sequence of inner queryable observable sequences.
maxConcurrent
Type: System.Int32
The maximum number of queryable observable sequences being subscribed to concurrently.

Return Value

Type: System.Reactive.Linq.IQbservable<TSource>
The queryable observable sequence that merges the elements of the inner sequences.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<IObservable<TSource>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see http://msdn.microsoft.com/en-us/library/bb384936(v=vs.103).aspx or http://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).aspx.
Show:
© 2014 Microsoft