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
Hey! I was thinking it would be great if someone more experienced than myself could code a nice general retry logic in case a steam disconnects and throws a TwitterError error. Would be cool to have it in README instead of "probably should have retry logic here" :)
Motivation
Well, my stream died a few times without me noticing ;) Also would useful when you restart an app and stream is already in use.
Describe alternatives you've considered
I've tried to implement something on my own but I've noticed sometimes the stream doesn't reconnect, so there must be something wrong with my approach. Would rather not post it. ;)
The text was updated successfully, but these errors were encountered:
Prerequisites
following:
Summary
Hey! I was thinking it would be great if someone more experienced than myself could code a nice general retry logic in case a steam disconnects and throws a
TwitterError
error. Would be cool to have it in README instead of "probably should have retry logic here" :)Motivation
Well, my stream died a few times without me noticing ;) Also would useful when you restart an app and stream is already in use.
Describe alternatives you've considered
I've tried to implement something on my own but I've noticed sometimes the stream doesn't reconnect, so there must be something wrong with my approach. Would rather not post it. ;)
The text was updated successfully, but these errors were encountered: