I'm using uWebSockets version 0.15.x to accept and manager web socket connections on a server. I have one thread calling uWS::TemplatedApp::run to handle this.
I need to send data to all open web sockets from another thread. My understanding is that uWebSockets is not thread safe. What is the recommended way to do this?
(The uWebSockets user manual for 0.14.x discusses uS::Async, but this class is gone in 0.15.x. It is not clear from the current documentation what the equivalent is.)