backon icon indicating copy to clipboard operation
backon copied to clipboard

Retry with backoff without effort.

Results 24 backon issues
Sort by recently updated
recently updated
newest added

Hey! The library seems pretty cool! I am new to rust, trying to implement a retry strategy on a small rest API project. Could you help me understand how to...

I'm interesting in using `backon` for retrying HTTP requests. I'd like to handle the `retry-after` HTTP header, where the server essentially can hint at which point it'd like you to...

When using the crate in a project targeting wasm32-unknown-unknown, the following needs to be added to the project's `cargo.toml`: `instant = { version = "0.1.12", features = ["wasm-bindgen"] }` Otherwise...

If I'm seeing this correctly, it should be possible to have unlimited retries in the implementation, but there seems no way of doing that via the public API, because the...

From [reddit](https://www.reddit.com/r/rust/comments/10wodyu/comment/j7v1l93/?utm_source=share&utm_medium=web2x&context=3): > Does ExponentialBackoff's max_times and max_delay meets your need? No. First, the documentation could be better. "If max times is reaching" is unclear and ungrammatical. I might say...

Users often wish to retry a request by adhering to the `Retry-After` header in HTTP responses, as demonstrated in https://github.com/Xuanwo/backon/issues/63. Maybe we can provide better ways for this feature?

Sometimes user want a max duration for exponential backoff instead of reaching the max times.

help wanted
good first issue

`backon` is great for retrying a single async function, but it's a bit clumsy to retry 100 functions. Perhaps we could provide a macro so users can add `#[backon]` to...

Backon is useful for a single function, but it's cumbersome to repeatedly write the same `backoff`, `when`, `notify`, and `sleep` functions. We should explore a way for users to define...