waitForAsyncEvents method
May be overridden to change what is awaited.
The default implementation is only microtasks in the NgZone
.
Implementation
@protected
@override
Future<void> waitForAsyncEvents() async {
await super.waitForAsyncEvents();
if (pendingTimers.isNotEmpty) {
await Future<void>.delayed(_minimumDurationForAllPendingTimers());
}
}