#retry #timeout #poll #wait

waitfor

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

1 unstable release

0.1.0 Oct 4, 2019

#744 in Testing

Download history 119/week @ 2023-12-22 400/week @ 2023-12-29 411/week @ 2024-01-05 405/week @ 2024-01-12 490/week @ 2024-01-19 675/week @ 2024-01-26 1211/week @ 2024-02-02 1106/week @ 2024-02-09 875/week @ 2024-02-16 674/week @ 2024-02-23 574/week @ 2024-03-01 813/week @ 2024-03-08 637/week @ 2024-03-15 253/week @ 2024-03-22 423/week @ 2024-03-29 503/week @ 2024-04-05

1,905 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