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
I am trying to modify (I would make a pull-request afterward) the grpc-call to cancel a server-streaming request from client. The idea I am working on is to pass another input to the grpc-call node (kinf of msg.cancel = true), get this from node.on("input", function (msg) { method and cancel the ongoing request.
The problem is that I don't find a way to cancel it. I don't find any documentation nor any .cancel() method.
Any help?
The text was updated successfully, but these errors were encountered:
I added the following to support this concept. In the grpc-call.js in the node.on("input"...) at the top of the function, If the message topic is set to "close" then you can call the same code used in the on close for the node. using grpc.closeClient.
Hi!
I am trying to modify (I would make a pull-request afterward) the
grpc-call
to cancel a server-streaming request from client. The idea I am working on is to pass another input to thegrpc-call
node (kinf ofmsg.cancel = true
), get this fromnode.on("input", function (msg) {
method and cancel the ongoing request.The problem is that I don't find a way to cancel it. I don't find any documentation nor any
.cancel()
method.Any help?
The text was updated successfully, but these errors were encountered: