Type alias SnapshotProvider<T>

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

Type Parameters

  • T

Type declaration

  • applySnapshot: ((snapshot: T) => Promise<void>)
      • (snapshot: T): Promise<void>
      • Parameters

        • snapshot: T

        Returns Promise<void>

  • getSnapshot: (() => Promise<T>)
      • (): Promise<T>
      • Returns Promise<T>

Generated using TypeDoc