-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
interval & intervalCap question #46
Comments
// @Rafael09ED |
What are you trying to achieve? 5 tasks then delay (delay starts when all the tasks are completed) or these 5 tasks must be completed in a given time? |
😄 |
If you wanted to run at max 2 tasks every 5 seconds you can use
For the exact behavior you have described where it waits five seconds after all have finished, I would look into using the |
Ok. I know |
Hey everyone!
Here's what I'm trying to accomplish. Please let me know if that's possible with this cool lib:
I need a queue to run 5 concurrent tasks. Let's say I add 10. I'd like to see 5 tasks running, a delay, another 5.
Is it possible to do it with
interval
and/orintervalCap
? I couldn't figure it out just by reading the readme.Thanks!
The text was updated successfully, but these errors were encountered: