is there any way to use delay in an iOS project? <...
# kotlin-native
j
is there any way to use delay in an iOS project? https://github.com/Kotlin/kotlinx.coroutines/issues/920
l
I have written a demo project which make coroutine works on iOS (just on the main thread). The source code is quite simple. hope it will help https://github.com/LanderlYoung/Kotlin-mpp
j
github search doesn’t find any usage of
delay
in your porject 🙂
l
If you got coroutine works, delay will surely work.
j
no it doesn’t 😉
coroutines work ok (if we don’t count the fact that everything runs on the main thread)