voloko/twitter-stream — pull request #31 by mgartner (2012-05-09 19:12:38+00:00)
Title: Reconnect when no data is received for 90 seconds

According to the Twitter Stream documentation, a client should reconnect to the stream if no data is received for 90 seconds: https://dev.twitter.com/docs/streaming-api/user-streams/suggestions#algorithms.

This change adds a call-back for when this event happens, where the user can then determine to reconnect, or do any desired behavior.