Channel Decorator
Channel Decorator#
This decorator defines which channel nestjs-pusher should send the event to. It also accepts a channel builder which passes you the request parameters and allow's you to resolve the final channel endpoint
Basic example#
Multiple channels#
Channel factory#
NOTE You can pass an inline function, but I'll pass a reference so this example can be easily understandable