DEV Community

Discussion on: Why I no longer use ConfigureAwait(false)

Collapse
 
erdemyavuzyildiz profile image
ERDEM YAVUZ YILDIZ

Correct, It's not library's responsibility to take defense against certain situations while also limiting it's own usability.
Developers should be aware of any synchronization context in use and code accordingly.
Library developer's decisions can't remedy for that. Trying to solve developer's problem with a library is bad practice alright.

Developer's should be also free to develop their own synchronization context and call library functions within that context.

Collapse
 
noseratio profile image
Andrew Nosenko

I agree, but many would disagree.