Chapter 16. Asynchronous everywhere
This chapter covers
- Working with asynchronous operations
- Using async and await
- Using .NET Task and the WinRT IAsync* approaches
- Converting between WinRT IAsync* and Task
How many times have you used an application that became unresponsive, if only for a few seconds? Starting in Windows Vista, those applications would frost over and respond to clicks by shifting themselves a couple pixels on the screen. More often than not, those applications were executing some long-running function or were waiting for a resource to be freed. For example, my data drive is a low-power spinning rust drive, and it tends to be aggressive about spinning down. Sometimes, when I go to save a document in Microsoft Word, Word ...