david.bilik

    david.bilik

    4 years ago
    hmm, ok, so what are the best practices for that? Callback hell?
    anton.bannykh

    anton.bannykh

    4 years ago
    @david.bilik @jw AFAIK coroutine support is available in the Kotlin/Native compiler. It's just the kotlinx.coroutines library that's missing. Which in theory shouldn't stop you from playing with coroutines on iOS (albeit makes it much harder).
    j

    jw

    4 years ago
    Yep, good point. I assume people mean the library APIs when they talk about it.
    anton.bannykh

    anton.bannykh

    4 years ago
    That's fair. Actually I wouldn't even claim your statement to be wrong. From a regular developer perspective there are no coroutines in Kotlin/Native on iOS. In a sense that it is nearly impossible to use them - you'll need deep understanding of coroutines implementation details, iOS, and also write a considerable amount of nontrivial code. And I've heard Kotlin/Native doesn't work well with multithreading - so there are some actual limitations.
    But some people interpret such statements wrong. And spread misinformation. 😞 Which is why I thought it wouldn't hurt to clarify. 😃