You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm curious as to what causes an error to occur when consuming the event source stream and what must therefore should be handled by the application. I've found that browsers handle some errors and retry, but if you get a bad gateway response then the event source errors with them. Is there similar behaviour here?
The text was updated successfully, but these errors were encountered:
It has become clear to me now that one does not es.close() given a streaming error. Instead, the event source will retry. I think the example would benefit from avoiding the closing of the event source given the inherent and familiar behaviour of retries.
Thanks for providing this project.
I'm curious as to what causes an error to occur when consuming the event source stream and what must therefore should be handled by the application. I've found that browsers handle some errors and retry, but if you get a bad gateway response then the event source errors with them. Is there similar behaviour here?
The text was updated successfully, but these errors were encountered: