Open odedva opened 1 year ago
hey - @jegesh would you be able to take a look on this ?
Hi! Thanks for the contribution. I'm just not clear on the use case you're addressing in this PR. Please explain
hey - if this is running in a thread, it would be nice to be able to gracefully shutdown the consumption of messages so the application that manages this thread with listener can ext nicely
_should_listen
for managing the state of the endless for loopstop
function to stop listening and making thelisten
function to return