Open knixer opened 2 months ago
Hi!
Which version of socket.io
are you using? Callbacks when broadcasting are supported since version 4.5.0
: https://socket.io/docs/v4/changelog/4.5.0#broadcast-and-expect-multiple-acknowledgements
The redis adapter does too: https://socket.io/docs/v4/redis-adapter/#supported-features
Make it possible to access a socket in a different node without broadcasting. I cant use ack:s when emitting from a socket that I got from
or
io.of(namespace).to(recipientSocketId).emit("path", data, (ack) => {data})
The error message I get is "Callbacks are not supported when broadcasting at BroadcastOperator.emit"