A module of extension members providing asynchronous operations for some basic CLI types related to concurrency and I/O.
Type extension | Description | ||||
Full Usage:
this.AsyncRead
Parameters:
byte[]
-
The buffer to read into.
?offset : int
-
An optional offset as a number of bytes in the stream.
?count : int
-
An optional number of bytes to read from the stream.
Returns: Async<int>
An asynchronous computation that will read from the stream into the given buffer.
|
Extended Type:
|
||||
|
|||||
Full Usage:
this.AsyncWrite
Parameters:
byte[]
-
The buffer to write from.
?offset : int
-
An optional offset as a number of bytes in the stream.
?count : int
-
An optional number of bytes to write to the stream.
Returns: Async<unit>
An asynchronous computation that will write the given bytes to the stream.
|
Extended Type:
|
||||
Full Usage:
this.Subscribe
Parameters:
'T -> unit
-
The function to be called for each observation.
Returns: IDisposable
An object that will remove the listener if disposed.
|
Extended Type:
|