sse
sse copied to clipboard
client.Unsubscribe doesn't seem to do anything
If I call SubscribeChan, then immediately call Unsubscribe on my events channel I can still receive events as normal. I discovered this while implementing reconnection logic if a stream goes silent by calling Unsubscribe then SubscribeChan. After doing this I will receive duplicate events on my channel. If I repeat the process 10 more times, I will receive 10 duplicate events on the channel for each event that the server sends.
Hello, I would like to bring this to your attention. When I call the Unsubscribe function, the thread is brought to a halt and never ends. Can we get some assistance, it's critical to be able to unsubscribe to a stream.