API

PipeReader.CompleteAsync

Signals the reader is finished and releases associated resources as appropriate.

Formal Syntax & Structure

csharp syntaxcsharp
await pipe.Reader.CompleteAsync()

Working Example

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