Skip to main content

Notes

  • Steps run sequentially; compensations run in reverse from the failed step.
  • Compensations should be idempotent, and each must actually undo its step’s action: a stubbed or inert one yields a green run with dirty state on rollback.
  • steps and <Saga.Step> children are mutually exclusive (steps wins if both given); SagaStep (import { SagaStep }) is the same marker as <Saga.Step>.