startMonitor method

  1. @internal
void startMonitor()

Implementation

@internal
void startMonitor() {
  _monitorTimer ??= Timer.periodic(
      const Duration(milliseconds: monitorFrequency), (_) async {
    if (!await monitorStats()) {
      stopMonitor();
    }
  });
}