You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation doesn't suggest any way to remove callback from socket. We can access the raw websocket object from property and call removeEventListener method of it, but that is not working for me.
var stream = $websocket("ws://localhost:7070/ws");
stream.socket.removeEventListener('message', callback);
Can anyone help me here ?
The text was updated successfully, but these errors were encountered:
The documentation doesn't suggest any way to remove callback from socket. We can access the raw websocket object from property and call
removeEventListener
method of it, but that is not working for me.Can anyone help me here ?
The text was updated successfully, but these errors were encountered: