API Reference
wireBridgeIdempotencyKey()
Stable D134 idempotency key helper scoped to one bridge session and sequence.
Import
import { wireBridgeIdempotencyKey } from "@graphrefly/ts/adapters";
Signature
function wireBridgeIdempotencyKey(
sessionId: string,
seq: number,
): string
Parameters
| Parameter | Type | Description |
|---|---|---|
sessionId | string | Stable identifier used by the emitted record. |
seq | number | seq value used by the helper. |
Returns
The stable key or reference string.
Example
import { wireBridgeIdempotencyKey } from "@graphrefly/ts/adapters";
Source
packages/ts/src/adapters/bridge.ts