rxjs-websocket: timer doesn't emit any more values after the first pong is received
szaszendre opened this issue · 0 comments
szaszendre commented
In your rxjs-websocket example isn't the ping supposed to be triggered every 30 seconds?
Because somehow after the subscription receiving the first pong the timer doesn't emit any more values. Thus there is no more ping emitted.
It has something to do with the race(). If both are of({}) then it works correctly. Somehow the interval doesn't fire when the connect() returns the WebsocketSubject.