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.
Glossary: Real-Time Apps with WebSockets
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.