Skip to content

Commit

Permalink
Improve expiry doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Nov 29, 2024
1 parent 323e224 commit 9799dc3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/persevero.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,12 @@ pub type Mode {
/// Specifies the maximum number of attempts to make.
MaxAttempts(Int)

/// Specifies the maximum duration to make attempts for.
/// Specifies the maximum duration to make attempts for. Note that `Expiry`
/// mode does not stop the current wait time from being executed. For example,
/// if you're under the expiry timeout by 1s and your next wait time is 10s,
/// the next wait time and the operation will still be executed. Also note
/// that the duration of the operation is also counted towards the expiry
/// timeout.
Expiry(Int)
}

Expand Down

0 comments on commit 9799dc3

Please sign in to comment.