3 ms·
I didn't mention calling Java from Kotlin. Kotlin can call a Java API to spawn a lightweight thread. There's no reason to use coroutines when you can do that.
by Skinney 5y ago
I didn't mention calling Java from Kotlin.
Kotlin can call a Java API to spawn a lightweight thread. There's no reason to use coroutines when you can do that.
- pjmlp 5y agoOnly if the Kotlin code is to be tied to the JVM, if you want that Kotlin library to be usable on Android, that isn't an option.