Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dotnet-watch] Make pipe reads and writes fully async #45495

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

tmat
Copy link
Member

@tmat tmat commented Dec 17, 2024

Replaces usage of BinaryReader and BinaryWriter, which do not support async reading/writing.
Instead we access the pipe stream directly. The data encoding is the same as BinaryReader/BinaryWriter, which is validated by tests.

All pipe operations are now async and cancellable.

See dotnet/runtime#17229

@tmat
Copy link
Member Author

tmat commented Dec 18, 2024

@phil-allen-msft ptal

@tmat tmat merged commit bfa1bbc into dotnet:release/9.0.2xx Dec 20, 2024
28 of 31 checks passed
@tmat tmat deleted the AsyncPipeReadWrite branch December 20, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants