Tip 6: Async library methods should consider using Task.ConfigureAwait(false)

Sign in to queue


6. Libraries should consider Task.ConfigureAwait(false). This is another micro-optimization you can use to reduce your methods' impact on the UI thread. Consider this if your library routine might be called from the UI thread, and has chatty awaits inside it.


Slides, codes and transcript for this video are available here.



The Discussion

Add Your 2 Cents