-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Timeout for onProgress for stream events #410
Comments
Good question. If I'm understanding correctly, once the timeout happens, |
Not at all, I was meaning that I would like to see timeout for first iteration for onProgress. Currently if we have timeout for 500ms, onProgress is triggered, and after 500ms request is cancelled. Ofc it could be done internally by wrapping onProgress with timeout but I would like to see it as param like onProgressTimeout for example |
Ahhh yep; that's definitely doable. |
Thanks! Could you please close this issue once done? |
@Vadko PRs are very welcome 😄 |
Ye, sure, I will :D |
@transitive-bullshit
|
if its ok I will refactor it and create PR |
@transitive-bullshit could you please look into this snippet and say if the approach is fine? 🙏 |
Describe the feature
I've faced issue working with timeoutMs when using onProgress callback - basically response is marked as timeouted for request overall rather than for onProgress callback itself. is there any way to fix that?
The text was updated successfully, but these errors were encountered: