sample

fun <T> Flow<T>.sample(period: Duration): Flow<T>

"java.time" adapter method for kotlinx.coroutines.flow.sample.