#wait #retry #poll #timeout #wait-for

waitfor

Retry a function until it succeeds, errors out, or a timeout/deadline is reached

1 unstable release

0.1.0 Oct 4, 2019

#8 in #poll

Download history 243/week @ 2022-08-19 359/week @ 2022-08-26 235/week @ 2022-09-02 342/week @ 2022-09-09 237/week @ 2022-09-16 449/week @ 2022-09-23 301/week @ 2022-09-30 356/week @ 2022-10-07 236/week @ 2022-10-14 163/week @ 2022-10-21 276/week @ 2022-10-28 167/week @ 2022-11-04 305/week @ 2022-11-11 117/week @ 2022-11-18 109/week @ 2022-11-25 154/week @ 2022-12-02

717 downloads per month

GPL-3.0-or-later

15KB
61 lines

pipeline crates.io Docs rustc

waitfor

waitfor is a crate allowing for retry of operations until a timeout or deadline is reached. If operation failed this failure is bubbled up directly.


lib.rs:

A crate allowing for repeated retry of a function until it either reports success, fails with an error, or times out.

No runtime deps