hlc_dart 1.0.0
hlc_dart: ^1.0.0 copied to clipboard
A Hybrid Logical Clock implementation in Dart, based on the paper "Logical Physical Clocks and Consistent Snapshots in Globally Distributed Databases".
1.0.0 - 2025-08-18 #
Added #
- Can set a
maxDrift
forreceiveEvent
(addedClockDriftException
) asDateTime
to get the logical/physical part of the timestamp as aDateTime
objectnextTimestamp
andmerge
to update the clock without mutating the original instance
Changed #
- chore: setup .github/workflows and update coverage links 33
- chore: improve documentation on
toInt64
- Assert non-negative logical time and counter