rogierschouten/async-lock

Empty the queue

Closed this issue · 2 comments

Hello, first of all, thanks for this module.

I was wondering if there is any way to empty the queue of pending locks. At some point, I don't care anymore about what is pending so I would like to cancel everything that is pending in the queue.

Thanks :)

Hi, so far there isn't.

The way to get it in, if you like, is through a PR. The only reason I have ownership of this module is that there was a bug that needed fixing, and the original owner did not respond anymore. By now, I myself hardly use the module anymore, so I'm just fulfilling the role of PR merger now, I hope you understand.

Closing due to inactivity, please feel free to re-open