decorator-operations icon indicating copy to clipboard operation
decorator-operations copied to clipboard

"max_wait" and "leading" to debounce?

Open fasiha opened this issue 1 year ago • 0 comments

It'd be really nice if debounce supported the two other parameters that Lodash's debounce has:

  • max_wait which ensures that a never-ending sequence of calls to the debounced function will periodically call
  • leading which allows the debounced function to be run on the first invocation (and then behaves as usual)

fasiha avatar Jun 15 '24 06:06 fasiha