debounce method

Flow<T> debounce(
  1. Duration window
)

Return a new flow that only emits values after window time has passed.

Implementation

Flow<T> debounce(Duration window) {
  return DebounceFlow(this, window);
}