DJWassink / Promise-parallel-throttle

It's kinda like Promise.all(), but throttled!
MIT License
81 stars 3 forks source link

add items to queue while it is being processed #30

Closed pieterdt closed 5 years ago

pieterdt commented 5 years ago

Is it possible to add items to the queue while it is being processed? If so how would that look like?

DJWassink commented 5 years ago

Sadly this is not possible. The best advice I can give you is to keep track of the items in an array and redo the throttle when it is done with the new array of items.