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

[Question] Is the last call guaranteed as in throttleit? #54

Open
Zer0xxxx opened this issue Jul 4, 2024 · 0 comments
Open

[Question] Is the last call guaranteed as in throttleit? #54

Zer0xxxx opened this issue Jul 4, 2024 · 0 comments

Comments

@Zer0xxxx
Copy link

Zer0xxxx commented Jul 4, 2024

Hello!

From throttleit README:

It guarantees execution after the final invocation and maintains the last context (this) and arguments.

Is it also the case for p-throttle?

I particularly like throttleit, which works perfectly as I want it to.
Now, I have a need that requires throttling asynchronous functions.

I would like to know if p-throttle also guarantees trailing.

Regarding the example from p-throttle README, it seems to be the case.
But I prefer to ask the question.

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

1 participant