walFrameKey()
Build the deterministic storage key for a WAL frame sequence number.
Import
Section titled “Import”import { walFrameKey } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function walFrameKey( prefix: string, frameSeq: number,): stringParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
prefix | string | prefix value used by the helper. |
frameSeq | number | frame seq value used by the helper. |
Returns
Section titled “Returns”The stable key or reference string.
Example
Section titled “Example”import { walFrameKey } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/wal.ts