-
Notifications
You must be signed in to change notification settings - Fork 194
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
onMessage data queue #108
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I am using angular-websocket for my websocket implementation, when using the onMessage I can see a strange behavior, each time I am receiving my data back I can see that the onMessage is called also backward for my old data.
for example:
on first msg - onMessage called 1 time data = x .
on second msg - onMessage called 2 times data = x ->data = y .
on third msg - onMessage called 3 times data = x ->data = y ->data=z
Is there a way to avoid the backward calls with the old data?
The text was updated successfully, but these errors were encountered: