Dico
09/11/2018, 4:09 AMThread.sleep
), whereas the one in the second example calls the delay
suspend function, which is suspending the coroutine. I don't know the semantics around cancellation exactly, but if you're observing this behavior, I'm sure it'll be related to this distinction.