GraphReFlyTS

API Reference

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

import { appendLogStorage } from "@graphrefly/ts/storage";

Signature

function appendLogStorage(opts: AppendLogOptions<T>): AppendLogStorageTier<T>

Parameters

ParameterTypeDescription
optsAppendLogOptions<T>Options that configure the helper.

Returns

A AppendLogStorageTier<T> value.

Example

import { appendLogStorage } from "@graphrefly/ts/storage";

Source

packages/ts/src/storage/append-log.ts