namespace Svrnty.CQRS.Sagas.Abstractions;
///
/// Defines a saga with its steps and compensation logic.
///
/// The saga's data/context type.
public interface ISaga where TData : class, ISagaData, new()
{
///
/// Configures the saga steps using the fluent builder.
///
/// The saga builder for defining steps.
void Configure(ISagaBuilder builder);
}