rulvar API reference / @rulvar/plan / applyPlanEntry
Function: applyPlanEntry()
ts
function applyPlanEntry(
state,
entry,
options?): PlanFoldState;Defined in: packages/plan/src/plan-entries.ts:456
THE single applier: folds one plan-scope entry into the state. Replay consumes recorded outcomes (the APPLIED diff), never re-runs rebase, and timers do not run; hash verification runs under the entry's own hashVersion profile.
Parameters
| Parameter | Type |
|---|---|
state | PlanFoldState |
entry | JournalEntry |
options? | { deriverFor?: (hashVersion) => | KeyDeriver | undefined; } |
options.deriverFor? | (hashVersion) => | KeyDeriver | undefined |