-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support .map() that returns ResponseStream instead of Stream #689
Comments
Any updates? |
@mosuem any updates? |
Hi @maherjaafar, I am not sure what you mean. Where does this |
@mosuem It's just an example. I changed it⬆️ The issue arises when I use |
Any update? I think the better question is, when is the Response Stream canceled? When the response is mapped and a stream is the result, how to cancel the response stream by the mapped stream? |
@maherjaafar, again just to clarify: Can you work around this by writing
? |
keeping the return type as
ReponseStream
to be able to call .cancel() after using.map()
Used version:
grpc: 3.2.4
Example
Expected result: I expect to get result of type
ReponseStream
but the result will be of typeStream
Actual result:
Stream
The text was updated successfully, but these errors were encountered: