build

Build the saga executor.

Finalizes the current step (if any) and creates an immutable SagaExecutor with all configured steps and monitors.

Return

A new SagaExecutor instance

Throws

if no steps were defined