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
| Parameter | Default | Description |
|---|---|---|
| T | any |
Constructors
| Constructor | Alerts | Description |
|---|---|---|
| (constructor)(id, runtime, attributes) | Beta | 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 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
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| runtime | IFluidDataStoreRuntime | |
| attributes | IChannelAttributes |