API

PipeWriter.WriteAsync

Copies input bytes into the pipe and flushes them asynchronously.

Formal Syntax & Structure

csharp syntaxcsharp
await pipe.Writer.WriteAsync(bytes)

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.await pipe.Writer.WriteAsync(bytes)
C# & .NET Reference