Skip to content 

SharedNumberSequenceFactory Class

Packages > @fluidframework/sequence > SharedNumberSequenceFactory

Signature:

export declare class SharedNumberSequenceFactory implements IChannelFactory 

Implements: IChannelFactory

Properties

List of properties for this class
Property Modifiers Type Description
attributes IChannelAttributes
Attributes static IChannelAttributes
type string
Type static string

Methods

List of methods on this class
Method Modifiers Description
create(document, id)
load(runtime, id, services, branchId, attributes)
segmentFromSpec(segSpec) static

Properties

attributes

Signature:

get attributes(): IChannelAttributes;

Attributes

Signature:

static readonly Attributes: IChannelAttributes;

type

Signature:

get type(): string;

Type

Signature:

static Type: string;

Methods

create

Signature:

create(document: IFluidDataStoreRuntime, id: string): ISharedObject;

Parameters

List of parameters
Parameter Type Description
document IFluidDataStoreRuntime
id string

Returns:

ISharedObject

load

Signature:

load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, branchId: string, attributes: IChannelAttributes): Promise<ISharedObject>;

Parameters

List of parameters
Parameter Type Description
runtime IFluidDataStoreRuntime
id string
services IChannelServices
branchId string
attributes IChannelAttributes

Returns:

Promise<ISharedObject>

segmentFromSpec

Signature:

static segmentFromSpec(segSpec: MergeTree.IJSONSegment): SubSequence<number>;

Parameters

List of parameters
Parameter Type Description
segSpec MergeTree.IJSONSegment

Returns:

SubSequence<number>