p-retry

Retry utility

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

Retry a promise-returning or async function

GitHub

795 stars
7 watching
66 forks
Language: JavaScript
last commit: 6 days ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/p-any A utility function to wait for any of multiple promises to be fulfilled with cancellation support. 55
sindresorhus/p-try A utility function to start a promise chain by executing a synchronous function safely 57
sindresorhus/p-log Utility for logging promise values and errors in a chain of operations 26
sindresorhus/p-some Wait for a specified number of promises to be fulfilled 36
sindresorhus/p-time A utility to measure the time taken by a promise to resolve 70
rholder/retrying A general-purpose retrying library for Python applications 1,917
sija/retriable.cr A retry mechanism with exponential backoff for handling unreliable code blocks 41
sindresorhus/p-timeout A utility function to decorate and manage timeouts on promises. 274
sindresorhus/p-tap Helps tap into a promise chain without affecting its value or state 132
sindresorhus/p-break A utility to exit a promise chain early and selectively execute subsequent promises based on conditions. 22
sindresorhus/p-filter Tool for filtering and concurrent execution of promises with an adjustable concurrency level 72
sindresorhus/p-event Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. 429
sindresorhus/p-settle A utility function to settle promises concurrently and retrieve their fulfillment or rejection values with optional concurrency control. 90
shafreeck/retry A simple library to handle repeated attempts at completing a task with error handling and customizable backoff strategy 12
sindresorhus/p-throttle A utility for rate-limiting function calls to prevent excessive usage and ensure efficient resource utilization 443