withTimeoutOrNull

suspend fun <T> withTimeoutOrNull(
    duration: Duration,
    block: suspend CoroutineScope.() -> T
): T?

“java.time” adapter method for kotlinx.coroutines.experimental.withTimeoutOrNull