close method
Close all open connections in the cluster.
Implementation
Future<void> close() async {
while (_peers.isNotEmpty) {
await _peers.removeLast().close();
}
}
Close all open connections in the cluster.
Future<void> close() async {
while (_peers.isNotEmpty) {
await _peers.removeLast().close();
}
}