Skip to content 

SharedIntervalCollectionFactory Class

Packages > @fluidframework/sequence > SharedIntervalCollectionFactory

The factory that defines the SharedIntervalCollection

Signature:

export declare class SharedIntervalCollectionFactory implements IChannelFactory 

Implements: IChannelFactory

Properties

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

Methods

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

Properties

attributes

Signature:

get attributes(): IChannelAttributes;

Attributes

Signature:

static readonly Attributes: IChannelAttributes;

type

Signature:

get type(): string;

Type

Signature:

static readonly Type = "https://graph.microsoft.com/types/sharedIntervalCollection";

Methods

create

Signature:

create(runtime: IFluidDataStoreRuntime, id: string): SharedIntervalCollection;

Parameters

List of parameters
Parameter Type Description
runtime IFluidDataStoreRuntime
id string

Returns:

SharedIntervalCollection

load

Signature:

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

Parameters

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

Returns:

Promise<SharedIntervalCollection>