Skip to content

Glossary: Real-Time Apps with WebSockets

Emit

Also written: emit, emits

Sending a named event. An `EventEmitter` emits to local listeners, and in Socket.IO `socket.emit` sends to one client while `io.emit` sends to all.

Where the book teaches it

Related terms

EventEmitterNamed eventsRoom