Concurrency, Failures and Cancellation in Async Code Quiz

Interactive Quiz ⋅ 12 Questions
By Stephen Gruppetta

In this quiz, you’ll test your understanding of Concurrency, Failures and Cancellation in Async Code.

By working through this quiz, you’ll revisit how long a loop of awaits takes compared with Promise.all(), what each Promise method settles with and when, where a rejection ends up when nothing awaits it, what an AbortSignal can and can’t stop, and how two async runs can get in each other’s way at an await.

Most questions show a short program from the Lindqvists’ smart home and ask what it does. Good luck!

The quiz contains 12 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!