AsyncDuplexStreamingCall<Envelope, Envelope>
No matter if I use ResponseStream.MoveNext or ResponseStream.ReadAllAsync it works perfectly and as soon as the server sends a message i can process it, right until i send a message using RequestStream.WriteAsync .. then i no longer receive message as the server sends them but only right after sending a message using RequestStream.WriteAsync ( I have confirmed the server is sending and the client is receiving them, but MoveNext/ReadAllAsync just hangs for ever until WriteAsync is called again )
I want to process the messages as soon as the server sends tham, and not only after calling WriteAsync, just like i can do in node/js/python.
I feel it must be a fault on my part, but i simply cannot spot it. I've been unable to find any working examples on how to use a stream in C# except
https://github.com/chgc/grpc-dotnetcore-3-chat but once i upgrade this to dotnet 6 this also fails to receive any messages.
Is Bidirectional streams supported in C# like all the other languages ? and if so, does anyone have a very basic and simple example showing how to have a thread processing incoming message as they come in while also supporting sending messages ?
Regards
Allan Zimmermann