ConsensusQueueClass Class
Packages > @fluidframework/ordered-collection > ConsensusQueueClass
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
Parameter | Default | Description |
---|---|---|
T | any |
Constructors
Constructor | Alerts | Description |
---|---|---|
(constructor)(id, runtime, attributes) | Alpha |
Constructs 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 as an alpha preview and may change without notice.
To use, import via @fluidframework/ordered-collection/alpha
.
For more information about our API support guarantees, see here .
Signature
constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes);
Parameters
Parameter | Type | Description |
---|---|---|
id | string | |
runtime | IFluidDataStoreRuntime | |
attributes | IChannelAttributes |