ChainHead

data class ChainHead(val seq: Long, val entryId: String)

Lightweight pointer to the latest entry in a saga run's journal.

Returned by SagaJournal.head as an O(1) accessor for hot-path consumers that only need the latest position without reading the full entry list.

Constructors

Link copied to clipboard
constructor(seq: Long, entryId: String)

Properties

Link copied to clipboard

An opaque, implementation-defined string identifier for the entry. Consumers should treat this as an opaque cursor, not parse it.

Link copied to clipboard
val seq: Long

The sequence number of the last appended entry.