LyraLearn AI Learning Platform
Exams
← Back to the lesson
Module 1 Β· Quiz

Async/Await Done Right

1. What is the primary purpose of using `async`/`await` in web servers?
2. What does the cardinal rule 'async all the way down' imply?
3. Why should `async void` be avoided outside of event handlers?
4. What is the benefit of using a `CancellationToken` in async methods?