SharedIntervalCollectionFactory Class
Packages > @fluidframework/sequence > SharedIntervalCollectionFactory
The factory that defines the SharedIntervalCollection
Signature:
export declare class SharedIntervalCollectionFactory implements IChannelFactory
Implements: IChannelFactory
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
attributes | IChannelAttributes | ||
Attributes | static |
IChannelAttributes | |
type | string | ||
Type | static |
(not declared) |
Methods
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
Parameter | Type | Description |
---|---|---|
runtime | IFluidDataStoreRuntime | |
id | string |
Returns:
load
Signature:
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, branchId: string, attributes: IChannelAttributes): Promise<SharedIntervalCollection>;
Parameters
Parameter | Type | Description |
---|---|---|
runtime | IFluidDataStoreRuntime | |
id | string | |
services | IChannelServices | |
branchId | string | |
attributes | IChannelAttributes |
Returns:
Promise<SharedIntervalCollection>