NetCoreForce icon indicating copy to clipboard operation
NetCoreForce copied to clipboard

Add ConfigureAwait(false) to await calls

Open jtsai-osa opened this issue 1 year ago • 4 comments

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

jtsai-osa avatar May 22 '24 17:05 jtsai-osa

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

anthonyreilly avatar May 22 '24 18:05 anthonyreilly

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

jtsai-osa avatar May 29 '24 21:05 jtsai-osa

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

jtsai-osa avatar Jul 06 '24 00:07 jtsai-osa

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

anthonyreilly avatar Aug 06 '24 16:08 anthonyreilly

Please, complete PR

Tyomios avatar Feb 18 '25 04:02 Tyomios

I'll have the beta nuget package published tomorrow

anthonyreilly avatar Feb 18 '25 14:02 anthonyreilly

published in 5.0.0-Beta

anthonyreilly avatar Feb 24 '25 22:02 anthonyreilly