IDocumentServiceFactory Interface
Packages > @fluidframework/driver-definitions > IDocumentServiceFactory
Signature:
export interface IDocumentServiceFactory
Properties
Property | Type | Description |
---|---|---|
protocolName | string | Name of the protocol used by factory |
Methods
Method | Description |
---|---|
createContainer(createNewSummary, createNewResolvedUrl, logger) | |
createDocumentService(resolvedUrl, logger) | Returns an instance of IDocumentService |
Events
protocolName
Name of the protocol used by factory
Signature:
protocolName: string;
Methods
createContainer
Signature:
createContainer(createNewSummary: ISummaryTree, createNewResolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger): Promise<IDocumentService>;
Parameters
Parameter | Type | Description |
---|---|---|
createNewSummary | ISummaryTree | |
createNewResolvedUrl | IResolvedUrl | |
logger | ITelemetryBaseLogger |
Returns:
Promise<IDocumentService>
createDocumentService
Returns an instance of IDocumentService
Signature:
createDocumentService(resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger): Promise<IDocumentService>;
Parameters
Parameter | Type | Description |
---|---|---|
resolvedUrl | IResolvedUrl | |
logger | ITelemetryBaseLogger |
Returns:
Promise<IDocumentService>