WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@aquamoth
Copy link

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.

@aquamoth aquamoth changed the title Replaced waitForConnectionCount() with just a disconnect_all event. RTS stop 1 May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant