cdurham
03/13/2026, 1:19 AMdelay use TimeSource.Monotonic?jw
03/13/2026, 4:05 AMDmitry Khalanskiy [JB]
03/13/2026, 8:39 AMSystem.nanoTime() is used on the JVM: https://github.com/Kotlin/kotlinx.coroutines/blob/b11abdf01d4d5db85247ab365abc72efc7b95062/kotlinx-coroutines-core/jvm/src/DefaultExecutor.kt#L[…]20hfhbd
03/13/2026, 9:16 AMrunTest skips delays by „just“ increasing the virtual time.cdurham
03/13/2026, 3:57 PMefemoney
03/14/2026, 9:50 PMTimeSource from the test dispatcher instead (and then pass that to your business logic):hfhbd
03/14/2026, 10:20 PM