<PackageReference Include="System.IO.Pipelines" Version="10.0.0-preview.6.25358.103" />

IDuplexPipe

public interface IDuplexPipe
Defines a class that provides a duplex pipe from which data can be read from and written to.
using System.Runtime.CompilerServices; namespace System.IO.Pipelines { [NullableContext(1)] public interface IDuplexPipe { PipeReader Input { get; } PipeWriter Output { get; } } }