primus-emit
primus-emit copied to clipboard
Working with primus-rooms ?
I think it's actually not the case but it will be nice if this module can works with primus-rooms. Like this we can do something like :
primus.room('user').emit('notification', notification)
And client side only :
primus.on('notification', data => {})