In the last chapter, we talked about some common problems people run into when writing concurrent and multithreaded code. We also saw some of the options Apple has for developers for this job, from lower-level alternatives that are hard to use correctly, to higher-level alternatives that are easier to use, but have less flexibility.
The rest of this book will focus on the new concurrency system which we will simply call async/await. In this chapter, we will explore the basic building of this new system – the async and await keywords. We will not delve into ...