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

Open
wants to merge 2 commits into
base: release/9.0.2xx
Choose a base branch
from

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

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