indexedDbAppendLog()
Creates an IndexedDB-backed append-log storage tier.
Import
Section titled “Import”import { indexedDbAppendLog } from "@graphrefly/ts/storage/browser";Signature
Section titled “Signature”function indexedDbAppendLog( spec: IndexedDbBackendSpec, opts: IndexedDbAppendLogOptions<T> = {},): AppendLogStorageTier<T>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
spec | IndexedDbBackendSpec | spec value used by the helper. |
opts | IndexedDbAppendLogOptions<T> | Options that configure the helper. |
Returns
Section titled “Returns”A AppendLogStorageTier<T> value.
Example
Section titled “Example”import { indexedDbAppendLog } from "@graphrefly/ts/storage/browser";Source
Section titled “Source”packages/ts/src/storage/browser.ts