Challenge: Async Loop Processing
Task
Swipe to start coding
Write an async method that processes a list of web request URLs by awaiting each simulated request in sequence.
- Await the
SimulateWebRequestAsyncmethod for each URL in the list. - After awaiting each result, assign the string
"Processed: "plus the result to a variable. - The method must process each URL one after the other, not in parallel.
Solution
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 5.56
Challenge: Async Loop Processing
Swipe to show menu
Task
Swipe to start coding
Write an async method that processes a list of web request URLs by awaiting each simulated request in sequence.
- Await the
SimulateWebRequestAsyncmethod for each URL in the list. - After awaiting each result, assign the string
"Processed: "plus the result to a variable. - The method must process each URL one after the other, not in parallel.
Solution
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 2
single