Table of Contents

Interface ICompensationLifecycleEvents

Namespace
WorkflowForge.Abstractions
Assembly
WorkflowForge.dll

Compensation (saga pattern) lifecycle events.

public interface ICompensationLifecycleEvents

Events

CompensationCompleted

Raised when compensation (rollback) completes.

event EventHandler<CompensationCompletedEventArgs>? CompensationCompleted

Event Type

EventHandler<CompensationCompletedEventArgs>

CompensationTriggered

Raised when compensation (rollback) is triggered due to a workflow failure.

event EventHandler<CompensationTriggeredEventArgs>? CompensationTriggered

Event Type

EventHandler<CompensationTriggeredEventArgs>

OperationRestoreCompleted

Raised when an operation restoration (compensation) completes successfully.

event EventHandler<OperationRestoreCompletedEventArgs>? OperationRestoreCompleted

Event Type

EventHandler<OperationRestoreCompletedEventArgs>

OperationRestoreFailed

Raised when an operation restoration (compensation) fails.

event EventHandler<OperationRestoreFailedEventArgs>? OperationRestoreFailed

Event Type

EventHandler<OperationRestoreFailedEventArgs>

OperationRestoreStarted

Raised when an operation restoration (compensation) starts.

event EventHandler<OperationRestoreStartedEventArgs>? OperationRestoreStarted

Event Type

EventHandler<OperationRestoreStartedEventArgs>