Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drained event? #247

Open
GeorgeWillaman opened this issue Apr 26, 2020 · 1 comment
Open

Drained event? #247

GeorgeWillaman opened this issue Apr 26, 2020 · 1 comment

Comments

@GeorgeWillaman
Copy link

GeorgeWillaman commented Apr 26, 2020

Does Bee have a similar event emitted for when a queue is drained, like Bull?
e.g.
queue.on('drained', async () => {...
Currently, I'm just polling the health of the queue waiting for it to be empty. Just curious if there is another solution :)
-G

@compwright
Copy link
Collaborator

@GeorgeWillaman this has not been implemented in bee-queue. Feel free to contribute a PR to add this feature: https://github.com/bee-queue/bee-queue#contributing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants