Skip to content 

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

List of methods of this class
Method Description
get(key)
getApprovalData(key)
getMember(clientId)
getMembers()
has(key)
propose(key, value)

Methods

get

Signature:

get(key: string): any;

Parameters

List of parameters
Parameter Type Description
key string

Returns:

any

getApprovalData

Signature:

getApprovalData(key: string): ICommittedProposal | undefined;

Parameters

List of parameters
Parameter Type Description
key string

Returns:

ICommittedProposal | undefined

getMember

Signature:

getMember(clientId: string): ISequencedClient | undefined;

Parameters

List of 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

List of parameters
Parameter Type Description
key string

Returns:

boolean

propose

Signature:

propose(key: string, value: any): Promise<void>;

Parameters

List of parameters
Parameter Type Description
key string
value any

Returns:

Promise<void>