C#C
C#3y ago
Kroks

❔ Is this usage of Tasks equivalent to Threads?

I have implemented this using Tasks.
My goal is to load the sessions in parallel since they are not dependent on each other. I could have used threads, but I came up with this solution instead. See how I do not await CreateSessionAsync, I await all tasks at the end. I could have also used Threads to split the session loading.

Question is now, is there a major difference?
Was this page helpful?