Interface provided by the class set in the snapshotProvider option. save() may be an async method, but read() must be synchronous.

interface SnapshotProvider {
    file: string;
    read(msg): string;
    save(): void | Promise<void>;
    snap(data, msg): void;
}

Implemented by

Properties

Methods

Properties

file: string

Methods

Generated using TypeDoc