anthonyreilly / NetCoreForce

Salesforce REST API toolkit for .NET Standard and .NET Core
MIT License
111 stars 64 forks source link

Add ConfigureAwait(false) to await calls #71

Open jtsai-osa opened 6 months ago

jtsai-osa commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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

jtsai-osa commented 4 months ago

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

anthonyreilly commented 3 months ago

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