AntiEntropy constructor
AntiEntropy({
- required Duration interval,
- required Future<
void> exchange(), - AntiEntropyTimerFactory timerFactory = _periodic,
Creates the exchange driver. Call start to begin ticking.
Implementation
AntiEntropy({
required this.interval,
required Future<void> Function() exchange,
AntiEntropyTimerFactory timerFactory = _periodic,
}) : _exchange = exchange,
_timerFactory = timerFactory;