ISerializedElection Interface
Serialized state of IOrderedClientElection.
To use, import via @fluidframework/container-runtime/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface ISerializedElection
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
electedClientId | Alpha |
readonly |
string | undefined |
Most recently elected client id. This is either: 1. the interactive elected parent client, in which case electedClientId === electedParentId, and the SummaryManager on the elected client will spawn a summarizer client, or 2. the non-interactive summarizer client itself. |
electedParentId | Alpha |
readonly |
string | undefined | Most recently elected parent client id. This is always an interactive client. |
electionSequenceNumber | Alpha |
readonly |
number | Sequence number at the time of the latest election. |
Property Details
electedClientId
Most recently elected client id. This is either:
-
the interactive elected parent client, in which case electedClientId === electedParentId, and the SummaryManager on the elected client will spawn a summarizer client, or
-
the non-interactive summarizer client itself.
To use, import via @fluidframework/container-runtime/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly electedClientId: string | undefined;
Type: string | undefined
electedParentId
Most recently elected parent client id. This is always an interactive client.
To use, import via @fluidframework/container-runtime/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly electedParentId: string | undefined;
Type: string | undefined
electionSequenceNumber
Sequence number at the time of the latest election.
To use, import via @fluidframework/container-runtime/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly electionSequenceNumber: number;
Type: number