OptionalinitialOptionalinitialOptionalmaxMax number of attempts (including the initial), before giving up.
When giving up, ctx.run will throw a TerminalError wrapping the original error message.
OptionalmaxMax duration of retries, before giving up.
When giving up, ctx.run will throw a TerminalError wrapping the original error message.
If a number is provided, it will be interpreted as milliseconds.
OptionalmaxOptionalmaxMax interval between retries.
Retry interval will grow by a factor specified in retryIntervalFactor.
The default is 10 seconds.
If a number is provided, it will be interpreted as milliseconds.
OptionalmaxOptionalretryExponentiation factor to use when computing the next retry delay.
The default value is 2, meaning retry interval will double at each attempt.
Optionalserde
Initial interval for the first retry attempt. Retry interval will grow by a factor specified in
retryIntervalFactor.The default is 50 milliseconds.
If a number is provided, it will be interpreted as milliseconds.