Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Debounce options missing trailing flag #73

Open
nshganesh opened this issue Jun 3, 2022 · 0 comments
Open

Debounce options missing trailing flag #73

nshganesh opened this issue Jun 3, 2022 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@nshganesh
Copy link

Current debounce implementation has only leading flag.
With leading true, function gets invoked on both beginning and edge of the timeout. This is slightly a different implementation compared to lodash/debounce implementation.

Need trailing flag as well, to control the invocation of function.

https://lodash.com/docs/4.17.15#debounce similar to this

@nshganesh nshganesh added bug Something isn't working enhancement New feature or request labels Jun 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants