Javascript – How to broadcast a message to all clients with different worker in ws and express?
In my express app, I am using clusters and ws package to run project with a socket connection. When a client connect to socket one of workers handle the connection (For example worker with id 1). But when another client…