periodicTimerCount property

int periodicTimerCount

The number of active periodic timers created within a call to run or fakeAsync.

Implementation

int get periodicTimerCount =>
    _timers.where((timer) => timer.isPeriodic).length;