SharedSummaryBlockFactory Class
The factory that defines the shared summary block.
Signature
/** @sealed */
export declare class SharedSummaryBlockFactory implements IChannelFactory
Implements: IChannelFactory
Static Properties
Property | Type | Description |
---|---|---|
Attributes | IChannelAttributes | Attributes of the channel. |
Type | String representing the type of the factory. |
Properties
Property | Type | Description |
---|---|---|
attributes | IChannelAttributes | Attributes of the channel. |
type | string | String representing the type of the factory. |
Methods
Method | Return Type | Description |
---|---|---|
create(runtime, id) | ISharedObject | Creates a local version of the channel. Calling attach on the object later will insert it into the object stream. |
load(runtime, id, services, attributes) | Promise<ISharedObject> | 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
Attributes of the channel.
Signature
get attributes(): IChannelAttributes;
Type: IChannelAttributes
Attributes
Attributes of the channel.
Signature
static readonly Attributes: IChannelAttributes;
Type: IChannelAttributes
type
String representing the type of the factory.
Signature
get type(): string;
Type: string