seconds

fun seconds(seconds: Int, cancelOnTimeout: Boolean = false, enableCoroutineCreationStackTraces: Boolean = true): CoroutinesTimeout(source)
fun seconds(seconds: Long, cancelOnTimeout: Boolean = false, enableCoroutineCreationStackTraces: Boolean = true): CoroutinesTimeout(source)

Creates CoroutinesTimeout rule with the given timeout in seconds.