currentHlc property

  1. @override
Hlc get currentHlc
override

Returns the current Hybrid Logical Clock timestamp. Implementations should return the latest known HLC, creating one if necessary.

Implementation

@override
Hlc get currentHlc {
  if (_innerClient != null) {
    return _innerClient!.currentHlc;
  }
  return Hlc.fromDate(DateTime.now(), 'offline-client');
}