Export (0) Print
Expand All

Observable.Amb(Of TSource) Method (IObservable(Of TSource)())

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

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

'Declaration
Public Shared Function Amb(Of TSource) ( _
	ParamArray sources As IObservable(Of TSource)() _
) As IObservable(Of TSource)
'Usage
Dim sources As IObservable(Of TSource)()
Dim returnValue As IObservable(Of TSource)

returnValue = Observable.Amb(sources)

Type Parameters

TSource

The type of source.

Parameters

sources
Type: System.IObservable(Of TSource)()
The observable sources competing to react first.

Return Value

Type: System.IObservable(Of TSource)
An observable sequence that surfaces any of the given sequences, whichever reacted first.
Show:
© 2014 Microsoft