close method

Future<void> close()

Stops the hub and closes every connection.

Implementation

Future<void> close() async {
  await _core.close();
  await _server.close(force: true);
  logger.info('Coordination hub stopped');
}