close method
Implementation
Future close() async {
await _executor.close();
while (_connections.isNotEmpty) {
await Future.wait(_connections.map(_close));
}
await _events.close();
}
Future close() async {
await _executor.close();
while (_connections.isNotEmpty) {
await Future.wait(_connections.map(_close));
}
await _events.close();
}