Companion
Functions
Link copied to clipboard
fun seconds( seconds: Int, cancelOnTimeout: Boolean = false, enableCoroutineCreationStackTraces: Boolean = true): CoroutinesTimeout
Content copied to clipboard
fun seconds( seconds: Long, cancelOnTimeout: Boolean = false, enableCoroutineCreationStackTraces: Boolean = true): CoroutinesTimeout
Content copied to clipboard
Creates CoroutinesTimeout rule with the given timeout in seconds.