build

Build the stateful saga executor.

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

Return

A new StatefulSagaExecutor instance

Throws

if no steps were defined