mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-10 23:48:02 -05:00
This feature was added in `socket.io@4.5.0`:
```js
io.timeout(1000).emit("some-event", (err, responses) => {
// ...
});
```
Thanks to this change, it will now work with multiple Socket.IO
servers.
Related: https://github.com/socketio/socket.io/issues/4163