From 120b5868afa5436ab7350c7618c2f9736653cc2b Mon Sep 17 00:00:00 2001 From: Shon Feder Date: Fri, 18 Oct 2024 15:31:59 -0400 Subject: [PATCH] Note that n_times forces stream executions --- src/retry/lwt_retry.mli | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/retry/lwt_retry.mli b/src/retry/lwt_retry.mli index 734429808..8cf47f785 100644 --- a/src/retry/lwt_retry.mli +++ b/src/retry/lwt_retry.mli @@ -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 {[