# reset method

1. @override

Future <void> reset()
override

In case the policy depends on some internal state, this state must be reset to an initial state when reset is called. In case timers run, they must be terminated.

## Implementation

    @override
    Future<void> reset() async {
      _log.finest('Resetting internal state');
      await _timerLock.synchronized(() {
        _timer?.cancel();
        _timer = null;
      });
      await super.reset();
    }