debounce<Event> function

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

Implementation

EventTransformer<Event> debounce<Event>(Duration duration) {
  return (events, mapper) => events.debounce(duration).switchMap(mapper);
}