radash
radash copied to clipboard
Debounce flush does not cancel the delayed invocation
debounce.flush() triggers the function but does not cancel the debounce call.
So the function run twice.
Meanwhile Lodash stop the debounce call on flush, so the function only run once.
Reproduction Radash vs Lodash Debounce
