There is no side effect. The gRPC library checks the state before making any mutations. It's still a bug to call it twice. What is the use case?
On Tuesday, June 4, 2019 at 2:18:03 AM UTC-7, changxu wrote: > > Hi all, > > I wanted to know if sending second onCompleted on already half-closed rpc > might have any side effects beyond throwing IllegalStateException? > -- 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/44079a65-f834-4a01-bab3-40e9bdba099e%40googlegroups.com.
