Type alias SnapshotProvider<T>
SnapshotProvider<T>: {
applySnapshot: ((snapshot: T) => Promise<void>);
getSnapshot: (() => Promise<T>);
}
Type declaration
-
applySnapshot: ((snapshot: T) => Promise<void>)
-
- (snapshot: T): Promise<void>
-
Returns Promise<void>
-
getSnapshot: (() => Promise<T>)
-
- (): Promise<T>
-
Returns Promise<T>