SafetyCulture / grpc-web-devtools

Chrome & Firefox Browser extension to aid gRPC-Web development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grpc-web-devtools will not work for streaming calls if the client chain the streaming callbacks.

kitchenSpoon opened this issue · comments

Tested on commit: 9d78d62

Seems like the streaming callback for "status" is not being call when using the build of grpc-web-devtools with the above commit.

Can you provide more info on what is not working? I can't reproduce issues with the status callbacks.

I have code similar to this which chain the callbacks

this.client.getStreamingResponse()
  .on("data", response => {})
  .on("status", status => {})

which does not work for the callbacks after the first.

but this will work

const response = this.client.getStreamingResponse()
response.on("data", response => {})
response.on("status", status => {})