❔ Clarification on Async and Task.Run
So I've been trying out the Async and
Now Async is basically one worker, that shifts its attention from Task to Task while another task is being processed (without needing workers attention). Now I read that C# achieve this by using the
Now
Now, granted the above information is correct, Async using a thread pool wouldnt that be considered utilizing parallelism?
Task.Run, now I need some clarification about the two and their differences.Now Async is basically one worker, that shifts its attention from Task to Task while another task is being processed (without needing workers attention). Now I read that C# achieve this by using the
Task.Scheduler, which has a thread pool and what not.Now
Task.Run would be parallelism in C#, it creates a thread with the function you pass to it. Now, granted the above information is correct, Async using a thread pool wouldnt that be considered utilizing parallelism?