Retry a promise-returning or async function
MIT License
Bot releases are hidden (Show)
shouldRetry
option (#75) b993a96https://github.com/sindresorhus/p-retry/compare/v6.1.0...v6.2.0
https://github.com/sindresorhus/p-retry/compare/v6.0.0...v6.1.0
https://github.com/sindresorhus/p-retry/compare/v5.1.2...v6.0.0
https://github.com/sindresorhus/p-retry/compare/v5.1.1...v5.1.2
@types/retry
dependency 13f6350https://github.com/sindresorhus/p-retry/compare/v5.1.0...v5.1.1
AbortController
(#59) 352d62ahttps://github.com/sindresorhus/p-retry/compare/v5.0.0...v5.1.0
https://github.com/sindresorhus/p-retry/compare/v4.6.1...v5.0.0
https://github.com/sindresorhus/p-retry/compare/v4.6.0...v4.6.1
https://github.com/sindresorhus/p-retry/compare/v4.5.0...v4.6.0
cross-fetch
for retrying on network errors (#44) 23e67abhttps://github.com/sindresorhus/p-retry/compare/v4.4.0...v4.5.0
https://github.com/sindresorhus/p-retry/compare/v4.3.0...v4.4.0
window.fetch
network error (#38) c62b158https://github.com/sindresorhus/p-retry/compare/v4.2.0...v4.3.0
onFailedAttempt
to be async (#30) 67afe2ahttps://github.com/sindresorhus/p-retry/compare/v4.1.0...v4.2.0
https://github.com/sindresorhus/p-retry/compare/v4.0.0...v4.1.0
Breaking:
Enhancements:
https://github.com/sindresorhus/p-retry/compare/v3.0.1...v4.0.0
onFailedAttempt
method. (https://github.com/sindresorhus/p-retry/issues/11) https://github.com/sindresorhus/p-retry/commit/bf701364d94e776fc0ff4dfe057e10fa83e919c0
onFailedAttempt
before final rejection.