StreamDebounceExtensions<T> extension
Chainable debounce variants on any Stream, so reactive pipelines read as
stream.debounce(d).map(...) instead of wrapping with the free function.
- on
-
- Stream<
T>
- Stream<
Methods
-
debounce(
Duration duration) → Stream< T> -
Available on Stream<
Debounces this stream: see debounceStream. Only the latest value of eachT> , provided by the StreamDebounceExtensions extensionduration-bounded burst survives. -
debounceAfterFirst(
Duration duration) → Stream< T> -
Available on Stream<
Emits the FIRST value immediately, then debounces the rest byT> , provided by the StreamDebounceExtensions extensionduration. -
debounceDistinct(
Duration duration, {bool equals(T previous, T next)?}) → Stream< T> -
Available on Stream<
Debounces this stream AND suppresses consecutive equal values.T> , provided by the StreamDebounceExtensions extension