typedef ModbusClientReader<T> = Stream<T> Function({ Duration updateInterval, bool distinct, AreEqual<T>? areEqual, });