Table of Contents

Method RecoverCompensationAsync

Namespace
Millrace.Workflows
Assembly
Millrace.dll

RecoverCompensationAsync(Guid, CompensationRecovery, CancellationToken)

Applies an operator''s recovery decision to a suspended unwind (§11.30).

Task RecoverCompensationAsync(Guid instanceId, CompensationRecovery action, CancellationToken ct)

Parameters

instanceId Guid
action CompensationRecovery
ct CancellationToken

Returns

Task

Remarks

Enqueued by IWorkflowClient.RecoverCompensationAsync rather than called directly, so the resulting checkpoint commits with this job''s own transition — the dispatcher writes nothing itself. Does nothing if the instance is no longer suspended mid-unwind, which makes a duplicate delivery harmless.