Skip to main content
Version: v1

SharedIntervalCollectionFactory Class

The factory that defines the SharedIntervalCollection

This API is deprecated and will be removed in a future release.
  • SharedIntervalCollection is not maintained and is planned to be removed.

Signature

export declare class SharedIntervalCollectionFactory implements IChannelFactory

Implements: IChannelFactory

Static Properties

PropertyTypeDescription
AttributesIChannelAttributes
Type

Properties

PropertyTypeDescription
attributesIChannelAttributes
typestring

Methods

MethodReturn TypeDescription
create(runtime, id)SharedIntervalCollection
load(runtime, id, services, attributes)Promise<SharedIntervalCollection>Loads the given channel. This call is only ever invoked internally as the only thing that is ever directly loaded is the document itself. Load will then only be called on documents that were created and added to a channel.

Property Details

attributes

Signature

get attributes(): IChannelAttributes;

Type: IChannelAttributes

Attributes

Signature

static readonly Attributes: IChannelAttributes;

Type: IChannelAttributes

type

Signature

get type(): string;

Type: string

Type

Signature

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

Method Details

create

Signature

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

Parameters

ParameterTypeDescription
runtimeIFluidDataStoreRuntime
idstring

Returns

Return type: SharedIntervalCollection

load

Loads the given channel. This call is only ever invoked internally as the only thing that is ever directly loaded is the document itself. Load will then only be called on documents that were created and added to a channel.

Signature

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

Parameters

ParameterTypeDescription
runtimeIFluidDataStoreRuntimeData store runtime containing state/info/helper methods about the data store.
idstringID of the channel.
servicesIChannelServicesServices to read objects at a given path using the delta connection.
attributesIChannelAttributes

Returns

The loaded object

Return type: Promise<SharedIntervalCollection>