Does socket.io guarantee that on() callbacks will be called in the same order that the messages were emitted?
相关问题
- Django & node.js : throw arguments[1]; // Unhandle
- Logging WCF message sizes
- Socket.io Extra Placeholder Frame being sent
- how to Get all connected clients in socket.io
- websocket server, storing the data
相关文章
- Streaming music synchronously from a mp3 file via
- why is socket.id undefined in the browser
- Codeigniter not logging
- How to increase message size in grpc using python
- Writing a stream protocol: Message size field or M
- Expressjs 4 route separation
- How to access websocket from controller or another
- Socket IO fails to connect within corporate networ
Node.js is a single event loop so yes.
But you have another problem, think about the latency between you and your clients, if two clients sent their messages, the first message that came to the server will be handled first, so if the first client emitted his message but he had a higher latency to the server from the second client (which sent his message after the first client), then it's probably be the second client message that will be handled first