This type can be used to emit events to all clients which have joined the room.

It is possible to use emit on rooms with Id nil but then the event will be emitted to no one.


Function Description
emit Emit a change.
id Return id of the room or nil when the room is not stored.