I noticed in the supplied examples that the Java clients have a way of
cleanly closing the connection w/o creating server exceptions.
This is what it looks like (from the HelloWorldClient.java example):
public void shutdown() throws InterruptedException {
channel.shutdown().awaitTermination(5, TimeUnit.SECONDS);
}
What's the equivalent for Node?
I noticed that premature termination of Node clients will cause exceptions
on Java servers.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/804babcb-0051-4775-a8f9-5a902d38394a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.