Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: Simple stream not stopping when asked

$
0
0
Hello,

I managed to use streaminvi to get tweets from twitter, but something weird is happening.

What is the correct way to stop the stream?
I do it inside the Func code, and until this morning it worked great.
Suddenly the code doesn't stop anymore as if its in an infinite loop.
Tried following the streaminvi code, the problem is that when i do that it works, which means there is a synchronization problem somewhere in streaminvi code.
Well, its either that or i'm doing something really wrong.

Also, i used the StreamStopped event to shed some light on the matter, it returned null as a value.

linvi, can you provide an example of how it should be done? (already looked in the documentation, the example there is not stopping the stream, it runs forever).

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>