toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

Add 'leading' argument to debounce util

Open arturbien opened this issue 5 years ago • 0 comments

Currently if you debounce a function using the 'debounce' util, the function gets called with a delay of specified debounce time which is not always intended effect.

Adding leading argument to debounce function would allow to debounce a function that would be triggered immediately and then wait specified time before the next call

arturbien avatar Feb 20 '20 16:02 arturbien