vercel / async-retry

Retrying made simple, easy and async

Home Page:https://npmjs.com/async-retry

Repository from Github https://github.comvercel/async-retryRepository from Github https://github.comvercel/async-retry

FR: pass attempt number to onRetry

kilianc opened this issue · comments

it would be nice to change the signature to this onRetry: (err, i) => {}

Patch welcome!

@leo @rauchg Could we get a new release with this PR?