Skip to main content
Version: v1

FluidDebugger Namespace

Signature​

export declare namespace FluidDebugger

Functions​

FunctionReturn TypeDescription
createFromService(documentService)Promise<IDocumentService>Creates document service wrapper that pops up Debugger window and allows user to play ops one by one. User can chose to start with any snapshot If pop-ups are disabled, we continue without debugger.
createFromServiceFactory(documentServiceFactory)Promise<IDocumentServiceFactory | ReplayDocumentServiceFactory>

Function Details​

createFromService​

Creates document service wrapper that pops up Debugger window and allows user to play ops one by one. User can chose to start with any snapshot If pop-ups are disabled, we continue without debugger.

Signature​

function createFromService(documentService: IDocumentService): Promise<IDocumentService>;

Parameters​

ParameterTypeDescription
documentServiceIDocumentServiceoriginal document service to use to fetch ops / snapshots.

Returns​

Return type: Promise<IDocumentService>

createFromServiceFactory​

Signature​

function createFromServiceFactory(documentServiceFactory: IDocumentServiceFactory): Promise<IDocumentServiceFactory | ReplayDocumentServiceFactory>;

Parameters​

ParameterTypeDescription
documentServiceFactoryIDocumentServiceFactory

Returns​

Return type: Promise<IDocumentServiceFactory | ReplayDocumentServiceFactory>