Class SagaStepEntry

Assembly: redb.Route.dll

A single saga step entry: forward action + optional compensation.

public sealed record SagaStepEntry : IEquatable<SagaStepEntry>

Inheritance

Object→SagaStepEntry

Implements

Properties

Action

Forward action to execute.

public Func<IExchange, CancellationToken, Task> Action { get; init; }

Compensate

Compensation to run on rollback (null = no compensation).

public Func<IExchange, CancellationToken, Task>? Compensate { get; init; }

Constructors