Summary
Asynchronous programming has come a long way in the past 10 years and the introduction of async
/await
has continued to move it forward. Although not perfect for every use case, this syntactic sugar has proven very popular with the TypeScript community and has gained widespread acceptance in popular libraries and frameworks.
In this chapter, we went over async
/await
syntax, how it came to be part of the language, and how the use of this syntax is actually complimentary to promises. We then toured several popular frameworks in use by TypeScript developers to see how application developers use promises and asynchronous programming to develop powerful web applications.
This concludes this book's study of language features. The next chapter will look at React for building user interfaces using TypeScript.