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
/
sample
sample
jdk8
@
FlowPreview
fun
<
T
>
Flow
<
T
>
.
sample
(
period
:
Duration
)
:
Flow
<
T
>
(
source
)
"java.time" adapter method for
kotlinx.coroutines.flow.sample
.