Tip 6: Async library methods should consider using Task.ConfigureAwait(false)
- Posted: Feb 07, 2014 at 9:13 AM
- 28,758 Views
- 4 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
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.