AboutSupportDeveloper GuideVersion 38.126.82.64

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