Skip to main content
Version: v1

FluidDebugger Namespace

Signature

export declare namespace FluidDebugger

Functions

Function Return Type Description
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

Parameter Type Description
documentService IDocumentService original document service to use to fetch ops / snapshots.

Returns

Return type: Promise<IDocumentService>

createFromServiceFactory

Signature

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

Parameters

Parameter Type Description
documentServiceFactory IDocumentServiceFactory

Returns

Return type: Promise<IDocumentServiceFactory | ReplayDocumentServiceFactory>