sindresorhus/
Retry a promise-returning or async function
USD raised
Recent activities
Add support for CommonJS Modules
SyntaxError: Cannot use import statement outside a module
Backport AbortController to 4.x
No longer useable via TypeScript due to @types/retry dependency release
The documentation of `onFailedAttempt(error)` is incorrect and misleading.
Allow importing using require
Ability to customize whether an error should be retried
Remove the signal.onabort listener when finished
Retry undici network errors on 4.x
Extract `isNetworkError` to own module?
Allow wrapping function like `mem` does
Loss of stack trace with `pRetry`
Support for Exponential backoff and retry on error in the intervals
p-retry + dynamic import() behave different in Node and browsers
`minTimeout` default value
New major release in the near future?
Documentation for destructuring params of `options.onFailedAttempt` does not match `FailedAttemptError` parameter type.
Clarify shouldRetry + interaction with options (retries, maxTimeout)
Wrong version published on npm
Stopping retries after `AbortError` thrown is delayed
Allow custom 'should be retried' logic
When passing arguments with the function, function is returning undefined
Module parse failed: Unexpected token
Delayed retry in README leads to unexpected result
Non-extensible rejections result in unhandled rejection
Are retries nestable?
`TypeError: options.onFailedAttempt is not a function` when onFailedAttempt is null or undefined
exclude fetchApi "Failed to fetch" from ignores
Cross browser handling of retrying on network connection issues
Does not support network failures from cross-fetch module
Allow `onFailedAttempt` to be an async function and wait for it to resolve
Retry on timeOut
how to stop retry on SIGINT
Use with sinon fake timers
Firefox doesn't retry on TypeError: NetworkError
Add support for AbortSignal
require/import('p-retry') example for 5.0.0
Package p-retry has been ignored because it contains invalid configuration
How can I use this on node? There is no cjs export of the library
Check for infinity value in `retries`
© 2019 BoostIO, Inc.