Interface ISagaBuilder<TData>
The steps of a Saga(Action<ISagaBuilder<TData>>), each optionally undoable.
public interface ISagaBuilder<TData>
Type Parameters
TData
Methods
- CompensateWith<TActivity>()
Declares the activity that undoes the step just appended.
- OnFailure(StepFailurePolicy)
Declares what the step just appended does when its retries are exhausted (§6.4).
- Saga(Action<ISagaBuilder<TData>>, NestedSagaPolicy)
Appends a saga inside this one (§11.29, §11.35).
- Then<TActivity>()
Appends a step.