Std.Concurrent.Retry.run
1 declaration
fn
run: &Std.Concurrent.Retry.Policy -> fn(Int) -> Result[T, E] -> Result[T, Std.Concurrent.Retry.RetryError[E]]Run action until it succeeds or the attempts run out, retrying every failure. action is given the attempt number, from 1.
