has anyone tried kotlinx.coroutines.delay() on iOS...
# multiplatform
p
has anyone tried kotlinx.coroutines.delay() on iOS? Seems to just die on me. maybe something to do with multithread coroutine support on iOS?
6th comment
b
It only works when you use
runBlocking
And even then, you have to be careful not to mess with the context managed by runBlocking
j
@basher dispatcher in my url is working fine
can use delay in lauch coroutine
b
ah yes that'll work for a main-thread dispatcher. I was more speaking to background threads
👍 1
p
thank you!!