Create a new message queue listener. This function does only return the handler passed to it, it does not actually listen to any events. It only provides type safety for the handler.
The channel to listen to.
The event handler.
Create a new message queue listener. This function does only return the handler passed to it, it does not actually listen to any events. It only provides type safety for the handler.