caolan / async

Async utilities for node and the browser

Home Page:http://caolan.github.io/async/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to empty the queue workersList items?

sanketdhoble opened this issue · comments

Version: v3.2.0
ENV: nodeJs

We are getting unhandled rejection in a third party module which is used to process items from the queue.
Due to which we are not able to call callback() even though we have try catch added.
So the item remains in the workersList as cb is not called.
Is there a way to empty the workersList ?