afterReplayedCompensation

open suspend fun afterReplayedCompensation(step: TypedValue, reverses: Long)

Called once per ca.acendas.kstate.saga.journal.EntryPhase.Compensation entry during saga resume replay, in journal seq order.

Fires during the T018 compensation-branch replay walk over already-journaled Compensation entries. The live intercept with StepPhase.Compensation is NOT invoked for already- journaled compensations.

The default body is empty for the same binary-compat reason as afterReplayedStep.

Exceptions thrown by this hook are caught and logged (as a ca.acendas.kstate.saga.SagaEvent.InterceptorError) — they do not abort the resume.

Parameters

step

The step identifier from the Compensation journal entry.

reverses

The seq of the ca.acendas.kstate.saga.journal.EntryPhase.Effect entry that this Compensation reverses.