improbable-eng / ts-protoc-gen

Protocol Buffers Compiler (protoc) plugin for TypeScript and gRPC-Web.
Apache License 2.0
1.37k stars 172 forks source link

Why is there no off() method on ResponseStream ? #300

Open yandzee opened 2 years ago

yandzee commented 2 years ago

Versions of relevant software used

0.15.0

What happened

I discovered that there is no off method on ResponseStream, what makes the usage of this stream very inconvenient. I need to disable some of handlers but keep stream running, so it seems like there are no ways to do it in current implementation. Could you please add this missed method?

Thanks