@ende/async/debounce

ende add jsr:@ende/async

Version 2026.10.15 on JSR.

Exports

  • debounce — Creates a debounced function that delays the given `func` by a given `wait` time in milliseconds. If the method is called again before the timeout expires, the previous call will be aborted.
  • DebouncedFunction — A debounced function whose execution is delayed by a given `wait` time in milliseconds. If the function is called again before the timeout expires, the previous call will be aborted.
  • DebounceOptions — Options for debounce.