grpc-dart
grpc-dart copied to clipboard
Support .map() that returns ResponseStream instead of Stream
keeping the return type as ReponseStream to be able to call .cancel() after using .map()
Used version: grpc: 3.2.4
Example
final ReponseStream myStream = _client
.myReponseStream
.listen((event) => event.map((event) => event.value));
Expected result: I expect to get result of type ReponseStream but the result will be of type Stream
Actual result: Stream
Any updates?
@mosuem any updates?
Hi @maherjaafar, I am not sure what you mean. Where does this WatchEventsRequest come from?