feat(y-indexeddb): cleanup (#2207)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
三咲智子 Kevin Deng
2023-05-05 04:25:58 +08:00
committed by GitHub
parent 6d7f06c1c3
commit 52b9734a7b
4 changed files with 58 additions and 11 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export function upgradeDB(db: IDBPDatabase<BlockSuiteBinaryDB>) {
export interface IndexedDBProvider {
connect: () => void;
disconnect: () => void;
cleanup: () => void;
cleanup: () => Promise<void>;
whenSynced: Promise<void>;
}