btford / btford/angular-socket-io
connect to socket for specific user
Open
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
How would I use this to only update the specific user.
Currently the socket I have set up updates a collection for any updates by any user. How would I limit the updates on my view to the ones done by someone logged in with my username (i.e. mine or me on another device.)
Is there a simple way to register for certain updates?
Currently have in my Angular
`socket.syncUpdates('transaction', transactions);`
and in my Node Server
`socket.emit('transaction:save', doc);`
Thanks.
Ben
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.