IDocumentServiceFactory Interface

Packages > @fluidframework/driver-definitions > IDocumentServiceFactory

Signature:

export interface IDocumentServiceFactory 

Properties

List of properties of this interface
Property Type Description
protocolName string Name of the protocol used by factory

Methods

List of methods of this class
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

List of 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

List of parameters
Parameter Type Description
resolvedUrl IResolvedUrl
logger ITelemetryBaseLogger

Returns:

Promise<IDocumentService>