Join Slack
Powered by
<@U4TQ4104X> I think your approach is not the best...
# coroutines
g
gmariotti
11/12/2017, 9:30 PM
@krenvpravo
I think your approach is not the best one, you should do instead
Copy code
launch(BACKGROUND) { val data = getMyLongComputation() run(UI) { view.updateData(data) } }
but I honestly don’t know why you’re getting race conditions
Open in Slack
Previous
Next