Categories
Android

Debouncing a function

I will start with a very common use case – say we have events that occurs a lot and in random, sometimes small intervals and we want to have them written to disk as soon as possible. We could simply write them to disk immediately after every event, but if we look back at rule […]