Passed to add_node() via the retry argument. When a node function throws
an error, the runner waits wait_seconds and retries up to max_attempts
times before re-throwing.
Arguments
- max_attempts
Positive integer. Total number of attempts (including the first). Must be >= 2.
- wait_seconds
Non-negative number. Seconds to wait between attempts. Each subsequent wait is multiplied by
backoff(default 1 = no backoff).- backoff
Positive number. Multiplier applied to
wait_secondsafter each failed attempt. Use2for exponential backoff.