Thanks for pointing this out, I do indeed have this defined but did not use it in my code. The original intention was to console.log when the websocket was in a connecting state but not yet connected, simply for logging and debugging purposes. I ended up not using it
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.