File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export type RunOptions<T> = {
171
171
serde ?: Serde < T > ;
172
172
173
173
/**
174
- * Max number of retry attempts, before giving up.
174
+ * Max number of attempts (including the initial) , before giving up.
175
175
*
176
176
* When giving up, `ctx.run` will throw a `TerminalError` wrapping the original error message.
177
177
*/
Original file line number Diff line number Diff line change @@ -759,7 +759,8 @@ export type ServiceOpts<U> = {
759
759
760
760
export type RetryPolicy = {
761
761
/**
762
- * Max number of retry attempts. When reached, the behavior specified in {@link onMaxAttempts} will be applied.
762
+ * Max number of retry attempts (including the initial).
763
+ * When reached, the behavior specified in {@link onMaxAttempts} will be applied.
763
764
*/
764
765
maxAttempts ?: number ;
765
766
You can’t perform that action at this time.
0 commit comments