A stream transformer for debouncing events that may happen to frequently