Skip to content

Setting ackTimeOut on io() causes all emits to repeat themselves at the time interval specified by ackTimeOut. #5311

You must be logged in to vote

Hi!

When using the retries option, every event must be acknowledged by the server, even if it's a basic socket.emit("my event"):

io.on("connection", (socket) => {
  socket.on("my event", (cb) => {
    cb();
  });
});

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@akintranslator

Answer selected by akintranslator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants