kotlinx.coroutines
1.6.4-SNAPSHOT
kotlinx-coroutines-jdk8
/
kotlinx.coroutines.time
/
withTimeout
with
Timeout
suspend
fun
<
T
>
withTimeout
(
duration
:
Duration
,
block
:
suspend
CoroutineScope
.
(
)
->
T
)
:
T
"java.time" adapter method for
kotlinx.coroutines.withTimeout
.