Thinking about this again, having TryCancel() on the call context is truly
surprising to me. It's spooky action at a distance. The call context is
used once when the stream is established, and then typically forgotten, and
the data is received by calling a method on the stream. So, why isn't
Tr
On Monday, November 5, 2018 at 8:02:22 PM UTC+10, Prashant Shubham wrote:
>
> Have a look at this discussion:
> https://groups.google.com/forum/#!topic/grpc-io/hahFSzQBN4s . Hope it
> helps.
>
Thank you! Calling TryCancel() on the call context does the trick.
It would be a really good idea to
Have a look at this discussion:
https://groups.google.com/forum/#!topic/grpc-io/hahFSzQBN4s . Hope it helps.
On Thursday, November 1, 2018 at 8:42:42 AM UTC+5:30,
michi@crowdstrike.com wrote:
>
> I have a C++ client that reads data from a stream using a ClientReader.
> The client runs a sep
On Thursday, November 1, 2018 at 1:12:42 PM UTC+10,
michi@crowdstrike.com wrote:
>
>
> I need to cancel the Read() call from another thread in my client, but I
> can't find anything in the API to do this. What am I missing?
>
No suggestions? Anyone?
--
*CONFIDENTIALITY NOTICE:* The inform