Skip to content

ConfirmedWindow

A complete confirmed log or its causal suffix, with pending and rejected edits excluded.

new ConfirmedWindow(confirmed?, limit?): ConfirmedWindow

readonly Envelope[]

number

ConfirmedWindow

get edits(): readonly ConcurrentEdit[]

readonly ConcurrentEdit[]

append(confirmed): void

Append complete confirmed batches, retaining the canonical recent suffix.

readonly Envelope[]

void


editsAfter(predecessors): readonly ConcurrentEdit[]

Retained text edits following every identity, in canonical order.

readonly EditId[]

readonly ConcurrentEdit[]


isAfter(id, predecessors): boolean

Whether a retained edit causally follows every supplied identity. Evicted identities are unknown.

EditId

readonly EditId[]

boolean


pairs(batch?): readonly ConcurrentPair[]

Exact pairs; a supplied batch limits results to pairs touching that batch.

readonly EditId[]

readonly ConcurrentPair[]