hi, 
assuming that i have a streaming request. how would i close a channel? 

if i configure a deadline attempting to use channel 
using channel.shutdown().awaitTermination(15, TimeUnit.SECONDS);  won't 
work until i use shutdown now.

otherwise it will keep sending packets. 
if i use  mListenContext = Context.current().withCancellation(); i will get 
an error cancelled without reason, i've been trying to search grpc code, 
and there seems to a gracefullCloseCommand but i don't know how to use it.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/c7207d76-7297-4bda-9632-4a1b661881de%40googlegroups.com.

Reply via email to