Challenge: Async Loop Processing
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 2
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Async Loop Processing
Stryg for at vise menuen
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 2
single