debounce<T> function

EventTransformer<T> debounce<T>(
  1. Duration duration
)

Implementation

EventTransformer<T> debounce<T>(Duration duration) {
  return (events, mapper) => events.debounceTime(duration).flatMap(mapper);
}