Hacker News new | ask | show | jobs
by torginus 1469 days ago
Yes, unfortunately due to coroutines having been designed before async/await was a thing.

But seeing how async/await is a thing since like a decade, this is another display of Unity doing things their own way for no good reason.

1 comments

There's actually a lot of good reasons to use generators over async/await. It's not feasible to use only async/await in Unity. Besides the inherent garbage with the design of Tasks, the fact that threading isn't even a topic for generators makes the UX a lot easier for newer/novice devs.