Package kotlinx.coroutines.experimental.time

Extensions for External Classes

kotlinx.coroutines.experimental.selects.SelectBuilder

Functions

delay

suspend fun delay(duration: Duration): Unit

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

withTimeout

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

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

withTimeoutOrNull

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

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