Package kotlinx.coroutines.debug.junit5   
  Types
Link copied to clipboard
                annotation class CoroutinesTimeout(val testTimeoutMs: Long, val cancelOnTimeout: Boolean = false)
Content copied to clipboard
Coroutines timeout annotation that is similar to JUnit5's Timeout annotation. It allows running test methods in a separate thread, failing them after the provided time limit and interrupting the thread.