PipeReadWriteExtensions.ReadAsync(TMessage) Method
From Tungsten Suite
Tungsten
|
|
PipeReadWriteExtensionsReadAsyncTMessage Method |
Waits for a message to be read from the pipe
Namespace: W.IO.Pipes
Assembly: Tungsten.IO.Pipes (in Tungsten.IO.Pipes.dll) Version: 2.0.3
C#
public static Task<TMessage> ReadAsync<TMessage>( this Pipe<TMessage> pipe )
Parameters
- pipe
- Type: W.IO.PipesPipeTMessage
The pipe from which to read data
Type Parameters
- TMessage
[Missing <typeparam name="TMessage"/> documentation for "M:W.IO.Pipes.PipeReadWriteExtensions.ReadAsync``1(W.IO.Pipes.Pipe{``0})"]
Return Value
Type: TaskTMessageThe message received or null if the read failed (the pipe was closed)