Do I understand correctly, that kotlin kode could ...
# kotlin-native
k
Do I understand correctly, that kotlin kode could be run either in UI thread or in BG thread on iOS? There is no way to have code work for UI and some doing heavy calculations (100+ seconds) for single particular app?
Just want to double check that I haven't missed anything recent that could simplify my work.
o
Kotlin code could be run anywhere in the program, either in UI or background one
☝️ 1
k
though coroutines are only supported for the main thread
a
Use Worker or https://github.com/Autodesk/coroutineworker or https://github.com/badoo/Reaktive to move calculations to background thread
👍 2