lets_code_javascript
lets_code_javascript copied to clipboard
RTS stop 1
RTS-stop-1 is the simplest approach to removing the function waitForConnectionCount() and my least favorable. It uses the EventEmitter from RTS-stop-2 to make RealTimeServer emit events when sockets connect and disconnect, but all tests are still required to properly shut down their sockets.
Use this if neither of the other two PRs are acceptable.