Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debounce options missing trailing flag #73

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

Debounce options missing trailing flag #73

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

Comments

@nshganesh
Copy link
Mannequin

nshganesh mannequin commented Jun 3, 2022

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 mannequin assigned SarthakSri98 Jun 3, 2022
@nshganesh nshganesh mannequin added bug Something isn't working enhancement New feature or request labels Jun 3, 2022
@nshganesh nshganesh mannequin assigned AdityaVandan Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

0 participants