2 ms·
Android screwed up by putting AsyncTask in their first set of documentation. Its easy to show demos with but hard to get right in a safe way. There are some i
by jayd16 8y ago
Android screwed up by putting AsyncTask in their first set of documentation. Its easy to show demos with but hard to get right in a safe way.
There are some interesting things that Unity coroutines do, like the idea that routines are tied to owners that are running them, so when the owner's life cycle ends, the coroutines no longer continue. However, as a whole I think there's a lot wrong with them. They're not any safer than Android's async functionality, they just make doing anything off the main thread almost impossible so threading issues are easier to deal with. The whole wait and continue functionality of them is also very frustrating in implementation with many exceptions and hacks.