Skip to main content

init_with_retry

Function init_with_retry 

Source
pub async fn init_with_retry<T, F, Fut>(f: F) -> Result<T>
where F: FnMut(usize) -> Fut, Fut: Future<Output = Result<T>>,
Expand description

Retry an async init operation once (2 total attempts) with tracing logs.