Awesome Lists

p-retry

by sindresorhus

JavaScriptpushed almost 2 years ago

Retry a promise-returning or async function

AI summary

Retry utility

A utility for automatically retrying failed promise-returning or async functions with exponential backoff and customizable error handling.

stars
808
forks
67
watching
7
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/sindresorhus/p-retry/links.svg)](https://awesome.facts.dev/awesome/sindresorhus/p-retry)
HTML
<a href="https://awesome.facts.dev/awesome/sindresorhus/p-retry"><img src="https://awesome.facts.dev/shield/sindresorhus/p-retry/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/sindresorhus/p-retry/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.