again 0.1.2

wasm-compatible retry util for std library futures
Documentation
1
2
3
4
5
6
7
8
use std::error::Error;

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
    pretty_env_logger::init();
    again::retry(|| reqwest::get("nope")).await?;
    Ok(())
}