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 add some documentation for this. (It isn't mentioned in the tutorial or examples, as far as I could.) I spent quite a lot of time looking for a way to do this and never found it because it is one method of many that is buried in the call context. -- *CONFIDENTIALITY NOTICE:* The information contained in this message may be privileged and/or confidential. It is the property of CrowdStrike. If you are not the intended recipient, or responsible for delivering this message to the intended recipient, any review, forwarding, dissemination, distribution or copying of this communication or any attachment(s) is strictly prohibited. If you have received this message in error, please notify the sender immediately, and delete it and all attachments from your computer and network. -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/8769e652-4dab-4717-8daf-9c5c508666a6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
