GraphReFlyTS

API Reference

walFrameChecksum()

Hash the canonical WAL frame body, excluding the checksum field itself.

Import

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

Signature

function walFrameChecksum(body: WalFrameBody<T>): Promise<string>

Parameters

ParameterTypeDescription
bodyWalFrameBody<T>body value used by the helper.

Returns

A Promise<string> value.

Example

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

Source

packages/ts/src/storage/wal.ts