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

Debounce options missing trailing flag #73

@nshganesh

Description

@nshganesh

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

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions