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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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

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.

2 participants