DebounceExtensions<T> extension

Extends the Stream class with the ability to debounce events in various ways

on
  • Stream<T>

Methods

debounce(Stream window(T event)) → Stream<T>
Transforms a Stream so that will only emit items from the source sequence if a window has completed, without the source sequence emitting another item. [...]
debounceTime(Duration duration) → Stream<T>
Transforms a Stream so that will only emit items from the source sequence whenever the time span defined by duration passes, without the source sequence emitting another item. [...]