4 ms·
Async and await appeared in C# well before they were added to JavaScript, so I'm not sure the reasoning of your timeline makes sense.
by rpeden 2y ago
Async and await appeared in C# well before they were added to JavaScript, so I'm not sure the reasoning of your timeline makes sense.
- DarkNova6 2y agoYou are right. I already saw it on other replies. Thanks for pointing it out here as well.
- rpeden 2y agoHopefully I didn't seem too pedantic. I don't think C# having it first necessarily diminishes your point about the use of async and await in JS. Async and await were nice additions in C# to make working with tasks more convenient, but there were other ways to manage async tasks without ending up with a tower of callbacks. The situation was messier in JS.