Skip to content 

ISummaryTracker Interface

Packages > @fluidframework/runtime-definitions > ISummaryTracker

Warning: This API is now obsolete.

0.21 summarizerNode - use ISummarizerNode instead

Signature:

export interface ISummaryTracker 

Properties

List of properties of this interface
Property Type Description
latestSequenceNumber number The latest sequence number of change to this node or subtree.
referenceSequenceNumber number The reference sequence number of the most recent acked summary.

Methods

List of methods of this class
Method Description
createOrGetChild(key, latestSequenceNumber) Creates a child ISummaryTracker node based off information from its parent.
getChild(key) Retrives a child ISummaryTracker node based off the key.
getId() Gets the id to use when summarizing, or undefined if it has changed.
updateLatestSequenceNumber(latestSequenceNumber) Updates the latest sequence number representing change to this node or subtree.

Events

latestSequenceNumber

The latest sequence number of change to this node or subtree.

Signature:

readonly latestSequenceNumber: number;

referenceSequenceNumber

The reference sequence number of the most recent acked summary.

Signature:

readonly referenceSequenceNumber: number;

Methods

createOrGetChild

Creates a child ISummaryTracker node based off information from its parent.

Signature:

createOrGetChild(key: string, latestSequenceNumber: number): ISummaryTracker;

Parameters

List of parameters
Parameter Type Description
key string key of node for newly created child ISummaryTracker
latestSequenceNumber number initial value for latest sequence number of change

Returns:

ISummaryTracker

getChild

Retrives a child ISummaryTracker node based off the key.

Signature:

getChild(key: string): ISummaryTracker | undefined;

Parameters

List of parameters
Parameter Type Description
key string key of the child ISummaryTracker node.

Returns:

ISummaryTracker | undefined

  • The child ISummaryTracker node.

getId

Gets the id to use when summarizing, or undefined if it has changed.

Signature:

getId(): Promise<string | undefined>;

Returns:

Promise<string | undefined>

updateLatestSequenceNumber

Updates the latest sequence number representing change to this node or subtree.

Signature:

updateLatestSequenceNumber(latestSequenceNumber: number): void;

Parameters

List of parameters
Parameter Type Description
latestSequenceNumber number new latest sequence number

Returns:

void