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

Add ConfigureAwait(false) to await calls #71

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

jtsai-osa
Copy link

Allows this library to be used in places where async await is not supported. Adding ConfigureAwait(false) prevents synchronization context from hanging when using Wait or Result

@anthonyreilly anthonyreilly self-assigned this May 22, 2024
@anthonyreilly
Copy link
Owner

anthonyreilly commented May 22, 2024

Thanks, this looks like a good idea - I'll pull this in.
(posting this link here just for documentation/recent advice on the topic)
https://blog.stephencleary.com/2023/11/configureawait-in-net-8.html

@jtsai-osa
Copy link
Author

That's awesome. Thanks!
Any estimate on the timing of when this will be published?

@jtsai-osa
Copy link
Author

Hey sorry to bug you again. Any chance this can be merged soon? Thanks!

@anthonyreilly
Copy link
Owner

Hey sorry to bug you again. Any chance this can be merged soon? Thanks!

sorry for the delay, got pulled away on another project, but I'll get this out in the next few weeks

@Tyomios
Copy link

Tyomios commented Feb 18, 2025

Please, complete PR

@anthonyreilly anthonyreilly changed the base branch from main to dev February 18, 2025 14:24
@anthonyreilly anthonyreilly merged commit 2e8a197 into anthonyreilly:dev Feb 18, 2025
@anthonyreilly
Copy link
Owner

I'll have the beta nuget package published tomorrow

@anthonyreilly
Copy link
Owner

published in 5.0.0-Beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants