jessetane / queue

Asynchronous function queue with adjustable concurrency
MIT License
764 stars 66 forks source link

Return Promise from queue.start() #93

Closed MaksimLavrenyuk closed 1 year ago

MaksimLavrenyuk commented 1 year ago

The solution to the problem https://github.com/jessetane/queue/issues/34

1) Change in logic. Previously, if you passed a callback to start, any error in the job interrupts the queue. Now the queue interrupts on error, regardless of callback in start. 2) Added Promise return from the start method.

jessetane commented 1 year ago

Will review as soon as I can, need a few more days, thanks

jessetane commented 1 year ago

thanks, sorry for the delay there