Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document onRetry's second parameter #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

None yet

1 participant