Type Alias spacetimedb_durability::TxOffset

source ·
pub type TxOffset = u64;
Expand description

Transaction offset.

The transaction offset is essentially a monotonic counter of all transactions submitted to the durability layer, starting from zero.

While the implementation may not guarantee that the sequence contains no gaps, it must guarantee that a higher transaction offset implies durability of all offsets smaller than it.