Thanks to visit codestin.com
Credit goes to lib.rs

#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

#2646 in Asynchronous

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

3,349 downloads per month

GPL-3.0-or-later

15KB
61 lines

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


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.

No runtime deps