Skip to main content

ConsensusQueueClass Class

Implementation of a consensus stack

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

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