I also have a problem with the delay function. I a...
# coroutines
s
I also have a problem with the delay function. I am trying to do a simple while in kotlin multiplatform. The following function works in android but not on iOS. In the logs on iOS side, i see "Before delay" but i don't see the other print.
Oh, i forgot to mention but this block is in a suspend function block
d
Check that the parent job isn't cancelled
s
I don't cancel it explicitly, but maybe something else is cancelling it? 🤔
v
Collect coroutine stacktraces. It should help
s
how do i collect the coroutine stacktrace when running on an iOS device?
g
Also make sure that you do not block this dispatcher