Skip to main content
Version: v2

ConsensusQueueClass Class

Implementation of a consensus stack

An derived type of ConsensusOrderedCollection with a queue as the backing data and order.

This API is deprecated and will be removed in a future release.

Use the ConsensusQueue singleton and IConsensusOrderedCollection for typing. This implementation class will be removed in a future release.

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

To use, import via @fluidframework/ordered-collection/legacy.

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

Signature​

export declare class ConsensusQueueClass<T = any> extends ConsensusOrderedCollection<T>

Extends: ConsensusOrderedCollection<T>

Type Parameters​

ParameterDefaultDescription
Tany

Constructors​

ConstructorAlertsDescription
(constructor)(id, runtime, attributes)BetaConstructs a new consensus queue. If the object is non-local an id and service interfaces will be provided

Constructor Details​

(constructor)​

Constructs a new consensus queue. If the object is non-local an id and service interfaces will be provided

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​

constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes);

Parameters​

ParameterTypeDescription
idstring
runtimeIFluidDataStoreRuntime
attributesIChannelAttributes