Jelle Fresen [G]
05/07/2024, 1:31 PMTestDispatcher
(link below) and want to learn more about the interfaces Delay
and DelayWithTimeoutDiagnostics
, but both links lead to a page not found. Am I looking at the wrong thing?
https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/-test-dispatcher/Dmitry Khalanskiy [JB]
05/07/2024, 1:37 PMDelay
is something you typically don't need to interact wih. In short, a CoroutineDispatcher
is a Delay
if it can handle delayed events (like withTimeout
or delay
) on its own.kevin.cianfarini
05/07/2024, 1:38 PMkevin.cianfarini
05/07/2024, 1:38 PMkevin.cianfarini
05/07/2024, 1:40 PMCoroutineDispatcher
works fineJelle Fresen [G]
05/07/2024, 1:44 PMDmitry Khalanskiy [JB]
05/07/2024, 1:48 PMDelay
and such because we tell it not to, as these are our internal things. Though it is an issue that Dokka still generates links.Jelle Fresen [G]
05/07/2024, 1:49 PMJelle Fresen [G]
05/07/2024, 1:49 PMDmitry Khalanskiy [JB]
05/07/2024, 1:51 PM