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
I haven't used this particular feature of socket.io, and I'm not sure I'll have time soon to figure out how the socket.io javascript client deals with this. It would be a very nice feature to have though.
In your example, where does the callback code get executed, client or server side? It looks like maybe the client and server are labeled backwards? It was my understanding that the function(data, callback) was the signature for the server's response to the event. (See "Sending and getting data (Acknowledgements)" on this page http://socket.io/#how-to-use)
server-side.js
client-side.js
please support event callback function.
The text was updated successfully, but these errors were encountered: