Table of Contents

Interface ISagaEvent

Namespace
Excalibur.Dispatch
Assembly
Excalibur.Dispatch.Abstractions.dll

Marker interface for events that are part of a saga orchestration.

public interface ISagaEvent : IDispatchEvent, IDispatchMessage
Extension Methods

Remarks

Events implementing this interface are typically used in saga pattern implementations to coordinate long-running business processes.

Properties

SagaId

Gets the saga identifier that this event is associated with.

string SagaId { get; }

Property Value

string

The saga identifier.

StepId

Gets the step identifier within the saga workflow.

string? StepId { get; }

Property Value

string

The saga step identifier or null.