stop method
Stops/closes this server.
Implementation
Future<void> stop() async {
if (!_started || _stopping || isStopped) return;
_stopping = true;
await _stopImpl();
_stoppedCompleter.complete(true);
}
Stops/closes this server.
Future<void> stop() async {
if (!_started || _stopping || isStopped) return;
_stopping = true;
await _stopImpl();
_stoppedCompleter.complete(true);
}