API Reference
walFrame()
Construct a passive WAL frame with a canonical checksum.
Import
import { walFrame } from "@graphrefly/ts/storage";
Signature
function walFrame(opts: WalFrameOptions<T>): Promise<WalFrame<T>>
Parameters
| Parameter | Type | Description |
|---|---|---|
opts | WalFrameOptions<T> | Options that configure the helper. |
Returns
A Promise<WalFrame<T>> value.
Example
import { walFrame } from "@graphrefly/ts/storage";
Source
packages/ts/src/storage/wal.ts