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
The issue arises when I use .map, as it converts it to a Stream instead of a ResponseStream. Consequently, I lose the ability to call myResponseStream.cancel() to cancel the stream.
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?
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: