Extensions for kotlinx.coroutines.selects.SelectBuilder

onTimeout

fun <R> SelectBuilder<R>.onTimeout(
    duration: Duration,
    block: suspend () -> R
): Unit

“java.time” adapter method for SelectBuilder.onTimeout.