Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Observable.merge<'T> Function (F#)

Returns an observable for the merged observations from the sources. The returned object propagates success and error values arising from either source and completes when both the sources have completed.

Namespace/Module Path: Microsoft.FSharp.Control.Observable

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
Observable.merge : IObservable<'T> -> IObservable<'T> -> IObservable<'T>

// Usage:
Observable.merge source1 source2
source1

Type: IObservable<'T>

The first Observable.

source2

Type: IObservable<'T>

The second Observable.

An Observable that propagates information from both sources.

For each observer, the registered intermediate observing object is not thread safe. That is, observations arising from the sources must not be triggered concurrently on different threads.

This function is named Merge in compiled assemblies. If you are accessing the function from a language other than F#, or through reflection, use this name.

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.