Export (0) Print
Expand All

Control.CommonExtensions Module (F#)

A module of extension members providing asynchronous operations for some basic CLI types related to concurrency and I/O.

Namespace/Module Path: Microsoft.FSharp.Control

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

module CommonExtensions

Extension Member


Add : ('T -> unit) -> unit

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

AsyncRead : byte [] * ?int * ?int -> Async<int>

Returns an asynchronous computation that will read from the stream into the given buffer.

AsyncWrite : byte[] * ?int * ?int -> Async<unit>

Returns an asynchronous computation that will write the given bytes to the stream.

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

F# Runtime

Supported in: 2.0, 4.0


Supported in: 3

Community Additions

© 2014 Microsoft