<PackageReference Include="System.ServiceModel.Primitives" Version="8.1.0" />

System.ServiceModel.Channels.IAsyncInputChannel

namespace System.ServiceModel.Channels { public interface IAsyncInputChannel : IInputChannel, IChannel, ICommunicationObject, IAsyncCommunicationObject { Task<Message> ReceiveAsync(); Task<Message> ReceiveAsync(TimeSpan timeout); Task<(bool, Message)> TryReceiveAsync(TimeSpan timeout); Task<bool> WaitForMessageAsync(TimeSpan timeout); } }