Open raschan opened 2 years ago
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 ^^
Hi @yanna92yar
You can always inject the QueueService
into you own services, and then call this.queueService.listen(...params)
yes my bad I just saw the function ^^ Thanks a lot !!
add ability for single handler to be attached to multiple queues via the listener