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

Add options leading & trailing #10

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Add options leading & trailing #10

merged 2 commits into from
Feb 12, 2024

Conversation

r4mbo7
Copy link
Contributor

@r4mbo7 r4mbo7 commented May 4, 2023

Hello,

Here is a proposal to add options to fire an event on the leading edge of the timeout.

The current behavior is unchanged if the options are not set (the event is fire on the trailing edge of the timeout).

Options inspired from https://lodash.com/docs#debounce.

The package.json has to be updated for a new package version to be released.

Thanks 👋

@r4mbo7 r4mbo7 force-pushed the master branch 2 times, most recently from a6df226 to 9b28c60 Compare May 4, 2023 15:24
@hopsoft hopsoft merged commit 6bc64f7 into hopsoft:main Feb 12, 2024
@r4mbo7
Copy link
Contributor Author

r4mbo7 commented Feb 13, 2024

Hi @hopsoft ! Thanks for your approval. Do you plan to do a new release of the npm package soon ?

@hopsoft
Copy link
Owner

hopsoft commented Feb 28, 2024

Yes as soon as I get some bandwidth to put attention back on this lib. Thanks for being patient.

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

Successfully merging this pull request may close these issues.

2 participants