retry

Set retry policy for current step.

If the step fails, it will be retried according to the policy's exponential backoff configuration. Retries are attempted before triggering compensation.

Must be called after step.

Return

This builder for method chaining

Parameters

policy

Retry policy to apply

Throws

if called before step