readAppendLogPage()
Read one ordered append-log page without assigning replay or restore semantics.
Import
Section titled “Import”import { readAppendLogPage } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function readAppendLogPage( log: AppendLogStorageTier<T>, opts: AppendLogReadOptions = {},): Promise<AppendLogPage<T>>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
log | AppendLogStorageTier<T> | log value used by the helper. |
opts | AppendLogReadOptions | Options that configure the helper. |
Returns
Section titled “Returns”A Promise<AppendLogPage<T>> value.
Example
Section titled “Example”import { readAppendLogPage } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/append-log.ts