Heikki Rauhala04/22/2021, 12:20 PM
Note that the latest element is not emitted if it does not fit into the sampling window.mean in the documentation of
? https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/sample.html How can an element not fit in a sampling window? There will always be the next window, right? Unless the sampling is cancelled while there are un-emitted events in the latest window, but are there other situations where the latest event is not emitted?
uli04/22/2021, 7:11 PM
Heikki Rauhala04/26/2021, 1:46 PM