Skip to content
GitHub no longer supports this web browser. Learn more about the browsers we support.

@jimmycuadra jimmycuadra released this Jan 12, 2020

retry's API is now stable for the 1.0 series.

New features:

  • Added a retry_with_index function that works like retry, but passes the number of the current try (as u64) as an argument to the supplied closure.

Improvements:

  • retry::delay::{Exponential, Fibonacci} now implement From<std::time::Duration>.
  • retry::delay::Range now implements From<std::ops::Range<std::time::Duration>> and From<std::ops::RangeInclusive<std::time::Duration>>.
Assets 2
You can’t perform that action at this time.