finish method
Closes connection (rather gracefully), in result should also disconnect.
Implementation
Future<void> finish() async {
await output.allSent;
close();
}
Closes connection (rather gracefully), in result should also disconnect.
Future<void> finish() async {
await output.allSent;
close();
}