Skip to content

rulvar API reference


rulvar API reference / @rulvar/plan / planHash

Function: planHash()

ts
function planHash(plan, deriver?): string;

Defined in: packages/plan/src/plan-hash.ts:65

planHash under one deriver profile (default: the current hashVersion 2 profile). Replay recomputes each entry's planHashAfter with the predicate of that entry's OWN hashVersion, so the deriver is a parameter, not an ambient.

Parameters

ParameterTypeDefault value
planTaskPlanundefined
deriverKeyDeriverderiverV2

Returns

string