Skip to content

Emitting to a room can't work with CoffeeScript since "in" is a key word in CS. #1191

@OrionChang

Description

@OrionChang

Emitting an event to all clients in a particular room

io.sockets.in('room').emit('event_name', data)

will be compiled to

io.sockets"in".emit('event_name', data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions