class DocDriverIndexedDB
implements IReplicaDocDriver
import { DocDriverIndexedDB } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/src/replica/doc_drivers/indexeddb.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>