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

Are retries nestable? #34

Closed
ToddHoff opened this issue Apr 5, 2020 · 3 comments
Closed

Are retries nestable? #34

ToddHoff opened this issue Apr 5, 2020 · 3 comments

Comments

@ToddHoff
Copy link

ToddHoff commented Apr 5, 2020

Is there any reason a retry loop can't be nested inside another retry loop?

thanks

@sindresorhus
Copy link
Owner

You can of course nest them, but are you expecting any special behavior? Hard to answer without more context.

@ToddHoff
Copy link
Author

ToddHoff commented Apr 6, 2020

Nothing special, it's a retry on a connection wrapped by a parsing retry. it's just that often things aren't composable. Good work. Thanks.

@acostalima
Copy link
Contributor

@sindresorhus I think this can be closed.

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

No branches or pull requests

3 participants