Sep 26, 2022
I suppose you can avoid the concurrency issues by just not ever doing things concurrently. That is true.
It's a pretty naive solutionand definitely not what I would recommend. In a real app UI state calculations can get expensive. Doing them on the main thread to block observers while the calculation is underway is a quick way to add jank to your app.
However, if it works for you then it works for you.