Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

47 lines
3.6 KiB

<HTML><HEAD><TITLE>Microsoft.FSharp.Control.CommonExtensions</TITLE><link rel="stylesheet" type="text/css"href="../msdn.css"></link></HEAD><BODY>
<br><dl>
<dt></dt><dd>
<h1>[<a href='../namespaces.html'>Home</a>] Module <a href='Microsoft.FSharp.Control.html'>Microsoft.FSharp.Control</a>.CommonExtensions </h1><br>
</dd>
<dt></dt><dd>
<table>
<tr valign='top'><td><summary>
A module of extension members that provide asynchronous operations for some basic .NET types related to concurrency and I/O.
</summary>
<dt><h3>Extension Members</h3></dt><dd>
<table width="100%%">
<tr><th width=60%>Extension Member</th><th>Description</th></tr>
<tr valign="top"><td><pre>member AsyncRead : buffer:<a href='Microsoft.FSharp.Core.type__byte.html'>byte</a> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__[]-1.html'>[]</a> * ?offset:<a href='Microsoft.FSharp.Core.type__int.html'>int</a> * ?count:<a href='Microsoft.FSharp.Core.type__int.html'>int</a> -> <a href='Microsoft.FSharp.Control.type_Async-1.html'>Async</a>&lt;<a href='Microsoft.FSharp.Core.type__int.html'>int</a>&gt;</pre></td><td><summary>
Return an asynchronous computation that will read from the stream into the given buffer.
</summary></td></tr>
<tr valign="top"><td><pre>member AsyncRead : count:<a href='Microsoft.FSharp.Core.type__int.html'>int</a> -> <a href='Microsoft.FSharp.Control.type_Async-1.html'>Async</a>&lt;<a href='Microsoft.FSharp.Core.type__byte.html'>byte</a> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__[]-1.html'>[]</a>&gt;</pre></td><td><summary>
Return an asynchronous computation that will read the given number of bytes from the stream
</summary></td></tr>
<tr valign="top"><td><pre>member AsyncSleep : millisecondsDueTime:<a href='Microsoft.FSharp.Core.type__int.html'>int</a> -> <a href='Microsoft.FSharp.Control.type_Async-1.html'>Async</a>&lt;<a href='Microsoft.FSharp.Core.type__unit.html'>unit</a>&gt;</pre></td><td><summary>
Return an asynchronous computation that will sleep for the given time. This is scheduled
using a System.Threading.Timer object, meaning that the operation will not block any threads
for the duration of the wait.
</summary></td></tr>
<tr valign="top"><td><pre>member AsyncWaitOne : ?millisecondsTimeout:<a href='Microsoft.FSharp.Core.type__int.html'>int</a> -> <a href='Microsoft.FSharp.Control.type_Async-1.html'>Async</a>&lt;<a href='Microsoft.FSharp.Core.type__bool.html'>bool</a>&gt;</pre></td><td><summary>
Return an asynchronous computation that will wait on the given WaitHandle. This is scheduled
as a wait-item in the .NET thread pool using RegisterWaitForSingleObject,
meaning that the operation will not block any .NET threads for
the duration of the wait.
</summary></td></tr>
<tr valign="top"><td><pre>member
AsyncWrite : buffer:<a href='Microsoft.FSharp.Core.type__byte.html'>byte</a> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__[]-1.html'>[]</a> * ?offset:<a href='Microsoft.FSharp.Core.type__int.html'>int</a> * ?count:<a href='Microsoft.FSharp.Core.type__int.html'>int</a> -> <a href='Microsoft.FSharp.Control.type_Async-1.html'>Async</a>&lt;<a href='Microsoft.FSharp.Core.type__unit.html'>unit</a>&gt;</pre></td><td><summary>
Return an asynchronous computation that will write the given bytes to the stream
</summary></td></tr>
</table>
</dd>
</td></tr>
<tr valign='top'><td>
<dt><h3>See Also</h3></dt><dd>
<a href="Microsoft.FSharp.Control.html">Microsoft.FSharp.Control</a> </dd>
</td></tr>
</table>
</dd>
</dl>
<br /> <br/><p><i>Documentation for assembly FSharp.Core, version 1.9.6.16, generated using <a href='http://research.microsoft.com/fsharp/'>F# Programming Language</a> version 1.9.6.16</i></p>
</BODY></HTML>