Skip to content

Conversation

MeLlamoPablo
Copy link

The onRetry functions accepts a second undocumented parameter that corresponds to the attempt number: https://github.com/zeit/async-retry/blob/f64b83de88b6018796ff84a099d28ed7007e83c1/lib/index.js#L33

Credit to @bertyhell for bringing this up on DefinitelyTyped/DefinitelyTyped#34189

@vercel
Copy link

vercel bot commented Mar 25, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://async-retry-git-mellamopablo-patch-1.zeit.now.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant