closeTransport method
Implementation
Future<void> closeTransport(url) async {
return transports[url]?.close().timeout(const Duration(seconds: 3),
onTimeout: () {
print("timeout while trying to close socket $url");
});
}
Future<void> closeTransport(url) async {
return transports[url]?.close().timeout(const Duration(seconds: 3),
onTimeout: () {
print("timeout while trying to close socket $url");
});
}