O'Reilly logo

Beginning Windows Store Application Development–HTML and JavaScript Edition by Kyle Burns, Scott Isaacs

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 12

image

Promises

Have you ever been frustrated when an application you were using temporarily froze while it was performing some task? Maybe it froze while you were searching its data or perhaps performing a long calculation. There are many factors that could cause an application to become unresponsive, but it is usually the result of doing something intensive on the same thread that is responsible for updating the user interface (UI). That means that when this long-running code is executing, the UI is unable to update, causing a perceived application freeze.

Clearly, this isn’t something we want in our applications. Fortunately, there are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required