ISnapshotWriterStorage Interface

Packages > @fluidframework/file-driver > ISnapshotWriterStorage

Signature:

export interface ISnapshotWriterStorage extends IDocumentStorageService 

Extends: IDocumentStorageService

Methods

List of methods of this class
Method Description
onCommitHandler(dataStoreName, tree)
onSnapshotHandler(snapshot)
reset()

Methods

onCommitHandler

Signature:

onCommitHandler(dataStoreName: string, tree: api.ITree): void;

Parameters

List of parameters
Parameter Type Description
dataStoreName string
tree api.ITree

Returns:

void

onSnapshotHandler

Signature:

onSnapshotHandler(snapshot: IFileSnapshot): void;

Parameters

List of parameters
Parameter Type Description
snapshot IFileSnapshot

Returns:

void

reset

Signature:

reset(): void;

Returns:

void