async-retry
async-retry copied to clipboard
Alternative, in TypeScript
This project hasn't been updated in years, and so for those having issues with TypeScript...
Here's an alternative, in TypeScript (strict mode), plus JavaScript, for a complete solution, without libraries.
@vitaly-t feel free to use async-wait-until — it's still maintained
I wouldn't bring in a whole separate library for something as simple. This implementation does it all, and it is just one function.