walFrameChecksum()
Hash the canonical WAL frame body, excluding the checksum field itself.
Import
Section titled “Import”import { walFrameChecksum } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function walFrameChecksum(body: WalFrameBody<T>): Promise<string>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
body | WalFrameBody<T> | body value used by the helper. |
Returns
Section titled “Returns”A Promise<string> value.
Example
Section titled “Example”import { walFrameChecksum } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/wal.ts