Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / replayDisposition

Function: replayDisposition()

ts
function replayDisposition(
   entry, 
   fold, 
   options?): OperationDisposition;

Defined in: packages/core/dist/index.d.ts

The single canonical predicate, dispatched on the entry's own hashVersion (compatibility lemma: on the v1 domain the tables coincide). Suspended entries are outside the table (the DEF-4 fold consumes them); the alias column (DEF-5) activates with node.link producers in M7: a skipped entry WITHOUT an incoming alias is always skipped.

Parameters

ParameterTypeDescription
entryJournalEntry-
foldAbandonFold-
options?{ invalidated?: ReadonlySet<number>; registry?: DeriverRegistry; runSettledOk?: boolean; terminal?: JournalEntry; }-
options.invalidated?ReadonlySet<number>-
options.registry?DeriverRegistry-
options.runSettledOk?booleanTrue when the loaded journal carries a run settle with runStatus 'ok' (the resume is a pure replay of a finished run): unstamped limit entries then replay instead of re-running live. Terminal settles other than ok keep the retry semantics.
options.terminal?JournalEntry-

Returns

OperationDisposition