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

Configuration for retry #26

Open
eye-dee opened this issue Aug 6, 2024 · 1 comment
Open

Configuration for retry #26

eye-dee opened this issue Aug 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@eye-dee
Copy link

eye-dee commented Aug 6, 2024

Thank you for addressing #21

I have a use-case, where infinite retry might not be an ideal option.
On server 401 response I want to refresh JWT token, so it would be great if there is a chance to configure retry and maybe for my use-case an ability to put 0 retries and complete the stream with some error

@pratikbaid3
Copy link
Owner

pratikbaid3 commented Aug 24, 2024

This is a great sugggestion. I was also thinking of providing a config object direct from the client using the package. This will allow more control over the newtwork calls.

@pratikbaid3 pratikbaid3 added the enhancement New feature or request label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants