Function hydro_deploy::util::async_retry
source · pub async fn async_retry<T, F: Future<Output = Result<T>>>(
thunk: impl FnMut() -> F,
count: usize,
delay: Duration,
) -> Result<T>
pub async fn async_retry<T, F: Future<Output = Result<T>>>(
thunk: impl FnMut() -> F,
count: usize,
delay: Duration,
) -> Result<T>