Suor / funcy

A fancy and practical functional tools
BSD 3-Clause "New" or "Revised" License
3.38k stars 144 forks source link

Retry infinity #114

Closed pquadri closed 2 years ago

pquadri commented 2 years ago

Hello, would you consider adding an infinite retry decorator similar to the already existing retry? I have written my own implementation and I'd like to add it to the package

Suor commented 2 years ago

Why not simply call with some large number?

pquadri commented 2 years ago

Because by design I want it to be infinity and not arbitrarily large :)