Table of contents
TOC
Collapse the table of content
Expand the table of content

IObservable.Add<'T> Extension Method (F#)

Den Delimarsky|Last Updated: 7/5/2016
|
1 Contributor

Permanently connects a listener function to the observable. The listener will be invoked for each observation.

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

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

Syntax

// Signature:
type System.IObservable with
member Add : ('T -> unit) -> unit

// Usage:
iObservable.Add (callback)

Parameters

callback Type: 'T ->unit

The function to be called for each observation.

Remarks

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

Platforms

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

Version Information

F# Core Library Versions

Supported in: 2.0

See Also

Control.CommonExtensions Module (F#)

IObservable.Subscribe<'T> Extension Method (F#)

System.IObservable<'T> Interface

© 2017 Microsoft