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

in _.debounce , set immediate true, the debounced function cannot work #278

Open
blueMountain007 opened this issue Apr 24, 2020 · 5 comments

Comments

@blueMountain007
Copy link

function foo() {console.log("1")} foo2 = debounce(foo, 3000, true); foo2()

no log consoled

@noscripter
Copy link

This is indeed a bug.

@FilipeLarga
Copy link

Pull request #243 seems to have a fix for this issue.

@pcbailey
Copy link

As of March 30th 2022, PR #243 has not been merged. If you plan on using the existing function, please look at the first commit in the PR and make the change shown there.

@apappas1129
Copy link

Can someone create a standalone TS declaration of this function?

@vassudanagunta
Copy link

Fixed #362, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants