stop method

Future<void> stop()

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);
}