TrackedCursor.epoch
property · packages/durable/src/journal.ts:281
readonly epoch: stringThe document's epoch the cursor counts in: what advance and stalled name.
Sync / foldkit-durable
interface · packages/durable/src/journal.ts:279
interface TrackedCursor {
readonly epoch: string
readonly cursor: Cursor
readonly attempts: number
readonly firstFailedAt: Option.Option<number>
readonly failedAt: Option.Option<number>
}Where a named piece of work over one document has reached, in the
document's current epoch: every commit at or before cursor was handled or
set aside. A lower bound over the effect ledger, so set back it costs
ledger reads, never a second run.
TrackedCursor.epochproperty · packages/durable/src/journal.ts:281
readonly epoch: stringThe document's epoch the cursor counts in: what advance and stalled name.
TrackedCursor.cursorproperty · packages/durable/src/journal.ts:282
readonly cursor: CursorTrackedCursor.attemptsproperty · packages/durable/src/journal.ts:284
readonly attempts: numberHow many runs have failed at the commit after cursor since it last moved.
TrackedCursor.firstFailedAtproperty · packages/durable/src/journal.ts:286
readonly firstFailedAt: Option.Option<number>When the first of those failed, in ms since the Unix epoch.
TrackedCursor.failedAtproperty · packages/durable/src/journal.ts:288
readonly failedAt: Option.Option<number>When the last of those failed.