IQuorum Interface
Packages > @fluidframework/protocol-definitions > IQuorum
Class representing agreed upon values in a quorum
Signature:
export interface IQuorum extends IEventProvider<IQuorumEvents>, IDisposable
Extends: IEventProvider<IQuorumEvents>, IDisposable
Methods
Method | Description |
---|---|
get(key) | |
getApprovalData(key) | |
getMember(clientId) | |
getMembers() | |
has(key) | |
propose(key, value) |
Methods
get
Signature:
get(key: string): any;
Parameters
Parameter | Type | Description |
---|---|---|
key | string |
Returns:
any
getApprovalData
Signature:
getApprovalData(key: string): ICommittedProposal | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
key | string |
Returns:
ICommittedProposal | undefined
getMember
Signature:
getMember(clientId: string): ISequencedClient | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
clientId | string |
Returns:
ISequencedClient | undefined
getMembers
Signature:
getMembers(): Map<string, ISequencedClient>;
Returns:
Map<string, ISequencedClient>
has
Signature:
has(key: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
key | string |
Returns:
boolean
propose
Signature:
propose(key: string, value: any): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
key | string | |
value | any |
Returns:
Promise<void>