primus / primus-emit

Emitting events between server and client.
MIT License
19 stars 3 forks source link

Working with primus-rooms ? #8

Open jaumard opened 8 years ago

jaumard commented 8 years ago

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 => {})
iamgoodbytes commented 6 years ago

Have you tried implementing this ? https://github.com/cayasso/primus-rooms