caolan / async

Async utilities for node and the browser
http://caolan.github.io/async/
MIT License
28.15k stars 2.41k forks source link

Is there a way to empty the queue workersList items? #1944

Open sanketdhoble opened 5 months ago

sanketdhoble commented 5 months ago

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 ?