Challenge: Async Loop Processing
Tâche
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
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 2
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Génial!
Completion taux amélioré à 5.56
Challenge: Async Loop Processing
Glissez pour afficher le menu
Tâche
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
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 2
single