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

New Post: Events stop firing

$
0
0
@JKeegan

The JsonObjectReceived is not really a Json Object. Instead it should be called MessageReceived.
So any string received within the stream is analyzed by Tweetinvi.

In any case I am waiting for the delay or when a response is received from the Stream.
// Code of Tweetinvi awaiting for messagevar requestTask = _currentReader.ReadLineAsync();
var resultingTask = TaskEx.WhenAny(requestTask, TaskEx.Delay(STREAM_DISCONNECTED_DELAY)).Result;
Cheers,
Linvi

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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