Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Observable::Amb<TSource> Method (array<IObservable<TSource>>)

Propagates the observable sequence that reacts first with a specified sources.

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

public:
generic<typename TSource>
static IObservable<TSource>^ Amb(
	... array<IObservable<TSource>^>^ sources
)

Type Parameters

TSource

The type of source.

Parameters

sources
Type: array<System::IObservable<TSource>>
The observable sources competing to react first.

Return Value

Type: System::IObservable<TSource>
An observable sequence that surfaces any of the given sequences, whichever reacted first.
Show:
© 2015 Microsoft