close method
Disposes of this server, and closes all of its adapters.
Implementation
Future close() {
Future.wait(_adapters.map((a) => a.close()));
_adapters.clear();
_clients.clear();
_subscriptions.clear();
return Future.value();
}
Disposes of this server, and closes all of its adapters.
Future close() {
Future.wait(_adapters.map((a) => a.close()));
_adapters.clear();
_clients.clear();
_subscriptions.clear();
return Future.value();
}