btford / btford/angular-socket-io
Broadcast to all except sender
Open
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
Currently, i am using in my code
`mySocket.emit("postCreator", post);`
this will broadcast to other clients and sender also but i want to broadcast to all other clients only, not the sender. I tried to use below code but its giving me error of mySocket.broadcast is undefined. How can i broadcast to all except the sender with **angular-socket-io**
`mySocket.broadcast.emit('postCreator', post);`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.