busyStateAll method
Dispatch busyState across every extension whose method is not tripped,
in registration order. Failures yield BusyState.idle for the affected
extension.
Implementation
Future<List<MapEntry<String, BusyState>>> busyStateAll() async {
final out = <MapEntry<String, BusyState>>[];
for (final e in _entries) {
final state = await _guard<BusyState>(
e,
_Method.busyState,
() => e.plugin.busyState(),
BusyState.idle,
);
out.add(MapEntry(e.plugin.namespace, state));
}
return out;
}