I just would like to ensure I understood well the differences between async await and Task.run or Task.whenall
So async await is to process asynchronous methods. It means that there is an order of processing implied.
I run a long processing without blocking the main thread and I wait for the result to continue.
For Task.Run and Task.Whenall there is a new notion with multithreading. It means that I can launch a long process on a new thread and it doesn't wait to complete to continue the code. The code is on a new thread. On this thread then I can await method.
So If I clearly understood I decided to use async await for long processes which implies an order of execution on main thread.
And I use Task.run for thread to run in parrallel and process independently.
Is it the good way and is my understanding good?
Thanks,