Function spin_and_try_every_second_for

Source
pub async fn spin_and_try_every_second_for<F, FG, FO>(
    future: FG,
    num_tries: usize,
) -> Result<FO>
where FG: Fn() -> F, F: Future<Output = Result<FO>>,