cancelConfigWatchers method
cancels all watchers
Implementation
Future<void> cancelConfigWatchers({required bool shouldQuit}) async {
for (final completer in _completers.values) {
completer.complete(shouldQuit);
}
_completers.clear();
}
cancels all watchers
Future<void> cancelConfigWatchers({required bool shouldQuit}) async {
for (final completer in _completers.values) {
completer.complete(shouldQuit);
}
_completers.clear();
}