Alternative for Thread.Sleep() in a “For Loop” in Kotlin?

前端 未结 0 962
伪装坚强ぢ
伪装坚强ぢ 2021-01-25 05:14

I have a for loop that consists of looping towards infinity and inside that for loop, there is a Thread.sleep(T)function, the sleeping time varies from 50ms to 1s.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题