class DocDriverIndexedDB
implements IReplicaDocDriver
import { DocDriverIndexedDB } from "https://deno.land/x/earthstar@v10.2.0/src/entries/npm.ts";
Constructors
new
DocDriverIndexedDB(share: ShareAddress, namespace?: string)Methods
close(erase: boolean): Promise<void>
deleteConfig(key: string): Promise<boolean>
eraseExpiredDocs(): Promise<DocBase<string>[]>
getConfig(key: string): Promise<string | undefined>
getMaxLocalIndex(): Promise<number>
isClosed(): boolean
listConfigKeys(): Promise<string[]>
setConfig(key: string, value: string): Promise<void>