Race conditon between ExpressJS GET execution and socket.io connection execution
I’m using a expressjs web app with socket.io. They share the session (express-session)
I have an issue where the code for a GET request executes before the socket can connect
This has led to errors, from variables that are set in the socket.on("connection");