hmm, ok, so what are the best practices for that? Callback hell?
02/22/2018, 5:21 PM
@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).
02/22/2018, 5:26 PM
Yep, good point. I assume people mean the library APIs when they talk about it.
02/22/2018, 5:33 PM
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. 😃