Using example "3.1.0 - Streaming - MarketPrice" and connecting via Eikon4
Replace the OnRefresh handler with the following code:
.OnRefresh((s,msg) =>
{
Console.WriteLine(msg);
using (IStream s_ = DeliveryFactory.CreateStream(new ItemStream.Params().Session(session).Name("CHF=")))
{
s_.Open();
Console.WriteLine("IT WORKED");
}
})
The program does not return from s_.Open() and will never print "IT WORKED".
Same result when trying to await an OpenAsync() call.