-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
Milestone
Description
The way we are implementing stream reads means we will often have more async/await overhead than is needed.
Instead of having an internal resettable task that we always await inside of ReadAsync, we should return a resettable task and have the MsQuic callback manage completing it. This will allow us to avoid an async state machine in ReadAsync().