Skip to content

Commit

Permalink
Note that n_times forces stream executions
Browse files Browse the repository at this point in the history
  • Loading branch information
shonfeder committed Oct 28, 2024
1 parent cd9f7e8 commit 120b586
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/retry/lwt_retry.mli
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ val n_times :
In particular [n_times 0 attempts] will *try* 1 attempt but *re-try* 0, so
it is guaranteed to produce some result.
[n_times] forces up to [n] elements of the on-demand stream of attempts.
Examples
{[
Expand Down

0 comments on commit 120b586

Please sign in to comment.