Open ManickaP opened 2 weeks ago
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
Alternative 2: Delete the method? 😆
namespace System.Net.Quic;
// Existing class.
public class QuicStream : Stream
{
- public void CompleteWrites();
+ public ValueTask CompleteWritesAsync();
}
Background and motivation
System.Net.Quic is still in Preview, before we un-preview it, we'd like to change this method to an async one. https://learn.microsoft.com/en-us/dotnet/api/system.net.quic.quicstream.completewrites?view=net-8.0
API Proposal
API Usage
Alternative Designs
Keeping it not-async and use existing
Task WritesClosed
property.Risks
No response