whileInProgress<T extends AppEvent> method
Subscribe EventBus
on a specific type of event, and register responder to it.
Implementation
@override
Stream<bool> whileInProgress<T extends AppEvent>() {
return _inProgress.map((events) {
return events.whereType<T>().isNotEmpty;
});
}