Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Put a new line after table in Control.Observable Module documentation #334

Open
wants to merge 1 commit into
base: live
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/conceptual/control.observable-module-[fsharp].md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ module Observable
|[scan](https://msdn.microsoft.com/library/a51f3116-1588-442a-b200-9e370155b9ff)<br />**: ('U -&gt; 'T -&gt; 'U) -&gt; 'U -&gt; IObservable&lt;'T&gt; -&gt; IObservable&lt;'U&gt;**|Returns an observable which, for each observer, allocates an item of state and applies the given accumulating function to successive values arising from the input. The returned object will trigger observations for each computed state value, excluding the initial value. The returned object propagates all errors arising from the source and completes when the source completes.|
|[split](https://msdn.microsoft.com/library/a628f66b-8712-4a5d-b9fc-ba2f323cb333)<br />**: ('T -&gt; Choice&lt;'U1,'U2&gt;) -&gt; IObservable&lt;'T&gt; -&gt; IObservable&lt;'U1&gt; &#42; IObservable&lt;'U2&gt;**|Returns two observables which split the observations of the source by the given function. The first will trigger observations for which the splitter returns **Choice1Of2**. The second will trigger observations **y** for which the splitter returns **Choice2Of2**. The splitter is executed once for each subscribed observer. Both also propagate error observations arising from the source and each completes when the source completes.|
|[subscribe](https://msdn.microsoft.com/library/19e66519-0b77-4396-8159-67ec47be0a63)<br />**: ('T -&gt; unit) -&gt; IObservable&lt;'T&gt; -&gt; IDisposable**|Creates an observer which subscribes to the given observable and which calls the given function for each observation.|

**The following code example shows how to use observables. The ObserverSource class defined in this example is a general-purpose reusable class that you can use as a source of observable events. Examples of using some of the functions in this module are shown here; for functions that are not demonstrated here, you can refer to the code examples in [Control.Event Module &#40;F&#35;&#41;](Control.Event-Module-%5BFSharp%5D.md).**
[!code-fsharp[Main](snippets/fsobservables/snippet1.fs)]

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

Expand All @@ -53,4 +55,4 @@ Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Supported in: 2.0, 4.0, Portable

## See Also
[Microsoft.FSharp.Control Namespace &#40;F&#35;&#41;](Microsoft.FSharp.Control-Namespace-%5BFSharp%5D.md)
[Microsoft.FSharp.Control Namespace &#40;F&#35;&#41;](Microsoft.FSharp.Control-Namespace-%5BFSharp%5D.md)