DebounceExtensions<T> extension
Extends the Stream class with the ability to debounce events in various ways
- on
-
- Stream<
T>
- Stream<
Methods
-
debounce(
Stream window(T event)) → Stream< T> -
Available on Stream<
Transforms a Stream so that will only emit items from the source sequence if aT> , provided by the DebounceExtensions extensionwindow
has completed, without the source sequence emitting another item. -
debounceTime(
Duration duration) → Stream< T> -
Available on Stream<
Transforms a Stream so that will only emit items from the source sequence whenever the time span defined byT> , provided by the DebounceExtensions extensionduration
passes, without the source sequence emitting another item.