appendLogStorage()
Build a single-writer append-only log over a KV tier, serializing all operations in call order for this handle. D85 multi-handle concurrent appends require multiWriterAppendLogStorage.
Import
Section titled “Import”import { appendLogStorage } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function appendLogStorage(opts: AppendLogOptions<T>): AppendLogStorageTier<T>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
opts | AppendLogOptions<T> | Options that configure the helper. |
Returns
Section titled “Returns”A AppendLogStorageTier<T> value.
Example
Section titled “Example”import { appendLogStorage } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/append-log.ts