Std.Concurrent.Retry.runCancellable
1 declaration
fn
runCancellable: &Std.Concurrent.Retry.Policy -> &Std.Concurrent.Cancel.Token -> fn(E) -> Bool -> fn(Int) -> Result[T, E] -> Result[T, Std.Concurrent.Retry.RetryError[E]]runWhen, stopping when the token fires: before each attempt and during each wait.
