AboutSupportDeveloper GuideVersion 38.126.83.79

Interface SnapshotProvider<Snapshot>

interface SnapshotProvider<Snapshot> {
    applySnapshot: ((snapshot) => Promise<void>);
    getSnapshot: (() => Promise<Snapshot>);
}

Type Parameters

  • Snapshot = unknown

Properties

applySnapshot: ((snapshot) => Promise<void>)

Type declaration

    • (snapshot): Promise<void>
    • Parameters

      Returns Promise<void>

getSnapshot: (() => Promise<Snapshot>)

Type declaration