The need for integrating promise with WT

JS is one of the primary languages on the WT platform. Besides the benefits of JS, there are some drawbacks too. We all know from our discussion in the previous chapter that callback hell was the core reason why there was a need to add promise into it, and the same goes here. WT also faced the same problem, but was quick enough to solve it by implementing promise into it. Promise in JS for WT is the game changer when it comes to writing robust, scalable, and maintainable apps for the Windows platform. Although WT was not the first one that implemented promise, but it is one of the quicker adopters of the concept and implementer.

In fact, JavaScript programmers started using WT JS for Windows, and due to ...

Get Mastering JavaScript Promises now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.