Derek Peirce
10/23/2023, 7:18 PMsleep(Duration)
method or even Duration.sleep()
in Kotlin (similar to the TimeUnit.sleep
method), instead of having to use Thread.sleep(duration.inWholeMilliseconds)
. The less anyone has to make assumptions about the system's default time unit, the better.Joffrey
10/23/2023, 7:22 PMdelay(duration)
instead from the coroutines libraryDerek Peirce
10/23/2023, 7:25 PMdelay
directly.kevin.cianfarini
10/23/2023, 7:27 PMDerek Peirce
10/23/2023, 7:46 PMDuration
conversions, coming across the issue).