Hi everybody,
I'm working on a project composed of a backend (go-gRPC) and a frontend
(Typescript-Vue).
Currently I'm listening on the frontend a gPRC Stream of notifications:
```
this.streamData = this.notificationService.subscribe(this.userId);
this.streamData.on('data', (response: any) => {
// here I check the events that arriving
}
```
After a subscription the server sends an AckEvent containing some
information, so the Client can be identified.
The problem is, after the subscription the client doesn't receive any
event, like it is waiting for something to do so(checked on gRPC ui and it
is working fine, but in the frontend the notification never arrives). It
only receives any event if I trigger on the frontend some feature that
sends a notification to the client.
When I do that the notifications arrive accumulated as if they were stuck
in the middle
of the way.
Anyone had this problem before? I tried everything but it doesn't work.
Thank you very much in advance!
Lukas
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/a1b98f40-e2bf-4334-adca-6a583084b3d0n%40googlegroups.com.