Luis Munoz07/02/2020, 12:12 AM
I read the documentation and don't really understand when i would use one or the other. I have the following code:
Flow<T>.debounce and Flow<T>.sample
informCount is a StateFlow that gets updated super fast it doesn't seem to work (not emitting anything). Should I use sample instead of debounce or no?
octylFractal07/02/2020, 12:14 AM
of time, debounce only emits after no events occur for
so that you get something even if it keeps updating
julian07/02/2020, 12:25 AM
emits the latest event after no events occur for a period of time.
Luis Munoz07/02/2020, 2:45 AM