Observable.ForkJoin<TSource> Method (IEnumerable<IObservable<TSource>>)

March 22, 2012

Runs all observable sequences in parallel and combines their last values.

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public static IObservable<TSource[]> ForkJoin<TSource>(
	this IEnumerable<IObservable<TSource>> sources

Type Parameters



Type: System.Collections.Generic.IEnumerable<IObservable<TSource>>

Return Value

Type: System.IObservable< TSource []>
Returns IObservable<T>.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<IObservable<TSource>>. When you use instance method syntax to call this method, omit the first parameter.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone