You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a server-only streaming call, when the client exit unexpectedly (like network error), how does the server know (like Exception or signal) and stop the stream?
The text was updated successfully, but these errors were encountered:
I assume this question is probably better suited in the grpc-java repo, because this library does not provide or change the behavior of the grpc-stuff.
Context.current().addListener(
newCancellationListener() {
@Override// Called when the client has closed the streampublicvoidcancelled(Contextcontext) {
doCleanup();
}
},
MoreExecutors.directExecutor());
In a server-only streaming call, when the client exit unexpectedly (like network error), how does the server know (like Exception or signal) and stop the stream?
The text was updated successfully, but these errors were encountered: