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

Handle multiple queues #55

Open
raschan opened this issue Mar 31, 2022 · 3 comments
Open

Handle multiple queues #55

raschan opened this issue Mar 31, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@raschan
Copy link
Collaborator

raschan commented Mar 31, 2022

add ability for single handler to be attached to multiple queues via the listener

@raschan raschan added the enhancement New feature or request label Mar 31, 2022
@bacloud22
Copy link

bacloud22 commented Jul 13, 2023

hi @raschan ,
is it possible in the current version to call Listen() as a regular method ?
having a callback which is normally the function being decorated ?

It gives a lot of flexibility I guess without changing the internals of this library I guess ? to be able to listen depending on runtime constraints to one or multiple topics.

Thanks a lot ^^

@raschan
Copy link
Collaborator Author

raschan commented Jul 13, 2023

Hi @yanna92yar
You can always inject the QueueService into you own services, and then call this.queueService.listen(...params)

@bacloud22
Copy link

yes my bad I just saw the function ^^
Thanks a lot !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants