Skip to content

Commit 34aefc1

Browse files
committed
Note that n_times forces stream executions
1 parent ade0456 commit 34aefc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/retry/lwt_retry.mli

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ val n_times :
142142
In particular [n_times 0 attempts] will *try* 1 attempt but *re-try* 0, so
143143
it is guaranteed to produce some result.
144144
145+
[n_times] forces up to [n] elements of the on-demand stream of attempts.
146+
145147
Examples
146148
147149
{[

0 commit comments

Comments
 (0)