-
Notifications
You must be signed in to change notification settings - Fork 349
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
It maybe !observer.closed => observer.closed when set returnObservable=true #836
Comments
Hi @KiyomiHan , I'm not sure and honestly am not really following; @hersentino I think wrote the code you linked to; Francois lmk if you have any thoughts on ^. Thanks! |
Hi, I'm not sure if this condition is the real issue here. I've tried removing it locally and used the I initially added this condition to prevent the close function from being called again if it has already been closed by the abort signal system. So, the condition can safely be removed, but as I mentioned earlier, I don't think this will resolve your problem. I'm not an expert with observable, but I believe the issue here is that the Why don't you use the abort signal system instead of the unsubscribe method? The abort signal system is functioning properly |
Okay, I made a mistake in my previous comment. The Sorry about the confusion. I'm going to submit a pull request today |
This should be fixed by #837. Thanks @hersentino ! |
ts-proto/src/generate-grpc-web.ts
Line 386 in 75f9f4a
it seems like
because when call the
unsubscribe()
theclosed
set be true.current code, make me can not close the grpc streamimg response
The text was updated successfully, but these errors were encountered: