Mohamed Hendawy
Dec 10, 2023

--

thanks for sharing that. as I understand The FetchDataFromApisAsync method already uses Task.WhenAll to await all the API calls concurrently. This code is correct for making asynchronous API calls in parallel. Each API call is initiated independently, and Task.WhenAll is used to await the completion of all tasks concurrently.

if you still see anything wrong, can you point what is wrong and the correct way to do it?

--

--

Responses (1)