stop method
Implementation
Future<void> stop() async {
for (final ws in _conns.values) {
await ws.close();
}
await _helloEvents.close();
await _offlineEvents.close();
await _joinEvents.close();
await _server?.close(force: true);
}
Future<void> stop() async {
for (final ws in _conns.values) {
await ws.close();
}
await _helloEvents.close();
await _offlineEvents.close();
await _joinEvents.close();
await _server?.close(force: true);
}