If you just gather up all your tasks in the BackgroundTask and then call Task.WaitAll, is there any reason not to do this?
I'm mainly curious because of some mutex code that would just be simpler to use if I just Waited on the tasks instead of awaited them.
No comments:
Post a Comment