Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx.coroutines
1.9.0
jdk8
switch theme
search in API
kotlinx-coroutines-core
/
kotlinx.coroutines.time
/
onTimeout
on
Timeout
jdk8
fun
<
R
>
SelectBuilder
<
R
>
.
onTimeout
(
duration
:
Duration
,
block
:
suspend
(
)
->
R
)
(
source
)
"java.time" adapter method for
SelectBuilder.onTimeout
.