Skip to content

Glossary: Real-Time Apps with WebSockets

Acknowledgement (ack)

Also written: ack, acks, acknowledgements, emitWithAck

A reply to one Socket.IO event. The receiver calls the ack function it was given, and the sender gets the answer, as when the board learns the server accepted "Ready" for Dana's order. `emitWithAck` lets the browser `await` it.

Where the book teaches it

Related terms

Socket.IONamed events