TinyBase logoTinyBase

Time

The Time type is used within the mergeable-store module to store the value of a hybrid logical clock (HLC).

string

It is simply an alias for a JavaScript string, but it comprises three HLC parts: a logical timestamp, a sequence counter, and a client Id. It is designed to be string-sortable and unique across all of the systems involved in synchronizing a MergeableStore.

This type is mostly utilized internally within TinyBase itself and is generally assumed to be opaque to applications that use it.

Since

v5.0.0