https://kotlinlang.org logo
e

elizarov

02/21/2017, 12:27 PM
If you use
Thread.sleep
you needlessly block your thread, too. You should not use
Thread.sleep
in a coroutine. There is
delay
for that.