private IFilteredStream _ts; privatevoid StartStream() { _ts = Stream.CreateFilteredStream(); _ts.StreamStopped += (sender, args) => { Thread.Sleep(2000); _ts.StartStreamMatchingAnyCondition(); }; _ts.AddFollow(_twitterMonitorUser, processTweet); _ts.StartStreamMatchingAnyCondition(); }
↧
New Post: Best practice for keeping streams alive
↧