rulvar API reference / @rulvar/core / nodeLinkKey
Function: nodeLinkKey()
ts
function nodeLinkKey(
spawnKey,
donorScope,
targetNodeId): string;Defined in: packages/core/src/journal/reuse.ts:112
node.link identity: sha256 of {kind, spawnKey, donorScope, targetNodeId}; targetNodeId is deterministic on replay because NodeIds are assigned inside plan.revision.
Parameters
| Parameter | Type |
|---|---|
spawnKey | string |
donorScope | string |
targetNodeId | string |
Returns
string