I'm using RxJS 4 (can't use 5 on this project). If I have multiple subscribers to the subject, only the first one subscribed seems to receive data. Does WebSocketSubject not work well with multiple subscribers?
Subscribe will kick off the socket, but only one of the subscribers (ends up being '222') gets data. If I throw a setTimeout around the second subscribe, then '111' will be the one who gets the data.
I'm using RxJS 4 (can't use 5 on this project). If I have multiple subscribers to the subject, only the first one subscribed seems to receive data. Does WebSocketSubject not work well with multiple subscribers?
simplified example:
Subscribe will kick off the socket, but only one of the subscribers (ends up being '222') gets data. If I throw a setTimeout around the second subscribe, then '111' will be the one who gets the data.
Thanks for the help.