-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does someone want to fork this? #66
Comments
Hi, I have implemented https://github.com/Xuanwo/backon. use anyhow::Result;
use backon::ExponentialBuilder;
use backon::Retryable;
async fn fetch() -> Result<String> {
Ok(reqwest::get("https://www.rust-lang.org/").await?.text().await?)
}
#[tokio::main]
async fn main() -> Result<()> {
let content = fetch.retry(&ExponentialBuilder::default()).await?;
println!("Fetch succeeded: {}", content);
Ok(())
} Feel free to give it a try! |
This was referenced Mar 7, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This repo hasn't had input from its author in 17 months. No commits, no issues answered, no PRs addressed. (Not complaining, just an observation.)
Has someone already forked and tried to address the issues and PRs that have come up or is there another crate that has been serving the same purpose?
Does someone know the protocol for the Rust docs.rs site when it comes to crates that may no longer be supported?
The text was updated successfully, but these errors were encountered: