Observable.Amb(TSource) Method (IObservable(TSource)[])

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

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

static member Amb : 
        sources:IObservable<'TSource>[] -> IObservable<'TSource> 

Type Parameters

TSource

The type of source.

Parameters

sources
Type: 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: