namespace Svrnty.CQRS.Sagas.Abstractions; /// /// Represents the execution state of a saga. /// public enum SagaStatus { /// /// Saga has not started execution. /// NotStarted, /// /// Saga is currently executing steps. /// InProgress, /// /// Saga completed successfully. /// Completed, /// /// Saga failed and compensation has not been triggered. /// Failed, /// /// Saga is currently executing compensation steps. /// Compensating, /// /// Saga has been compensated (rolled back) successfully. /// Compensated }