Pudu programming language
Menu
API reference

Std.Concurrent.Retry.runWhen

1 declaration

fn

runWhen: &Std.Concurrent.Retry.Policy -> fn(E) -> Bool -> fn(Int) -> Result[T, E] -> Result[T, Std.Concurrent.Retry.RetryError[E]]

run, retrying only the failures retryable accepts; any other failure is answered at once as GaveUp with the attempts made.

Back to Std.Concurrent.RetrySearch related declarations