GraphReFlyTS

API Reference

walFrameKey()

Build the deterministic storage key for a WAL frame sequence number.

Import

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

Signature

function walFrameKey(
	prefix: string,
	frameSeq: number,
): string

Parameters

ParameterTypeDescription
prefixstringprefix value used by the helper.
frameSeqnumberframe seq value used by the helper.

Returns

The stable key or reference string.

Example

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

Source

packages/ts/src/storage/wal.ts