Skip to main content
Version: v2

IQuorumProposals Interface

Interface for tracking proposals in the Quorum.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/driver-definitions/legacy.

For more information about our API support guarantees, see here.

Signature

export interface IQuorumProposals

Properties

PropertyAlertsTypeDescription
offBetaIQuorumProposals["on"]
onceBetaIQuorumProposals["on"]

Methods

MethodAlertsReturn TypeDescription
get(key)Betaunknown
has(key)Betaboolean
on(event, listener)Betaany
on(event, listener)Betaany
on(event, listener)Betavoid
propose(key, value)BetaPromise<void>

Property Details

off

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

off: IQuorumProposals["on"];

Type: IQuorumProposals["on"]

once

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

once: IQuorumProposals["on"];

Type: IQuorumProposals["on"]

Method Details

get

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

get(key: string): unknown;

Parameters

ParameterTypeDescription
keystring

Returns

Return type: unknown

has

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

has(key: string): boolean;

Parameters

ParameterTypeDescription
keystring

Returns

Return type: boolean

on

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

on(event: "addProposal", listener: (proposal: ISequencedProposal) => void): any;

Parameters

ParameterTypeDescription
event"addProposal"
listener(proposal: ISequencedProposal) => void

Returns

Return type: any

on

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

on(event: "approveProposal", listener: (sequenceNumber: number, key: string, value: unknown, approvalSequenceNumber: number) => void): any;

Parameters

ParameterTypeDescription
event"approveProposal"
listener(sequenceNumber: number, key: string, value: unknown, approvalSequenceNumber: number) => void

Returns

Return type: any

on

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

on(event: "error", listener: (message: any) => void): void;

Parameters

ParameterTypeDescription
event"error"
listener(message: any) => void

propose

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

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

Parameters

ParameterTypeDescription
keystring
valueunknown

Returns

Return type: Promise<void>