SharedMatrixFactory Class
Packages > @fluidframework/matrix > SharedMatrixFactory
Signature:
export declare class SharedMatrixFactory implements IChannelFactory
Implements: IChannelFactory
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
attributes | IChannelAttributes | ||
Attributes | static |
IChannelAttributes | |
type | string | ||
Type | static |
string |
Methods
Method | Modifiers | Description |
---|---|---|
create(document, 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 Type: string;
Methods
create
Signature:
create(document: IFluidDataStoreRuntime, id: string): IChannel;
Parameters
Parameter | Type | Description |
---|---|---|
document | IFluidDataStoreRuntime | |
id | string |
Returns:
load
Signature:
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, branchId: string, attributes: IChannelAttributes): Promise<IChannel>;
Parameters
Parameter | Type | Description |
---|---|---|
runtime | IFluidDataStoreRuntime | |
id | string | |
services | IChannelServices | |
branchId | string | |
attributes | IChannelAttributes |
Returns:
Promise<IChannel>