ConfirmedWindow
A complete confirmed log or its causal suffix, with pending and rejected edits excluded.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ConfirmedWindow(
confirmed?,limit?):ConfirmedWindow
Parameters
Section titled “Parameters”confirmed?
Section titled “confirmed?”readonly Envelope[]
limit?
Section titled “limit?”number
Returns
Section titled “Returns”ConfirmedWindow
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get edits(): readonly
ConcurrentEdit[]
Returns
Section titled “Returns”readonly ConcurrentEdit[]
Methods
Section titled “Methods”append()
Section titled “append()”append(
confirmed):void
Append complete confirmed batches, retaining the canonical recent suffix.
Parameters
Section titled “Parameters”confirmed
Section titled “confirmed”readonly Envelope[]
Returns
Section titled “Returns”void
editsAfter()
Section titled “editsAfter()”editsAfter(
predecessors): readonlyConcurrentEdit[]
Retained text edits following every identity, in canonical order.
Parameters
Section titled “Parameters”predecessors
Section titled “predecessors”readonly EditId[]
Returns
Section titled “Returns”readonly ConcurrentEdit[]
isAfter()
Section titled “isAfter()”isAfter(
id,predecessors):boolean
Whether a retained edit causally follows every supplied identity. Evicted identities are unknown.
Parameters
Section titled “Parameters”predecessors
Section titled “predecessors”readonly EditId[]
Returns
Section titled “Returns”boolean
pairs()
Section titled “pairs()”pairs(
batch?): readonlyConcurrentPair[]
Exact pairs; a supplied batch limits results to pairs touching that batch.
Parameters
Section titled “Parameters”batch?
Section titled “batch?”readonly EditId[]
Returns
Section titled “Returns”readonly ConcurrentPair[]