|
|
|
|
|
by lelanthran
395 days ago
|
|
Why would someone put an await inside a loop? Don't get me wrong... I believe you have seen it, I just can't understand the thought process that led to that. In my mind, await is used when you want to use the result, not when you store it or return it. |
|
> I just can’t understand the thought process that led to that.
Bluntly, it’s not understanding the tools and fundamentals. Your original reply assumed that it would use all cores, for example. To me that’s obviously not true but I’m sure there’s 10 things you could list off that are obvious to you but I’d get wrong -