Node TAP
    Preparing search index...

    Interface SnapshotProvider

    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): string;
        save(): void | Promise<void>;
        snap(data: string, msg: string): void;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    file: string

    Methods

    • Parameters

      • msg: string

      Returns string

    • Returns void | Promise<void>

    • Parameters

      • data: string
      • msg: string

      Returns void