Cómo transmitir a toda la sala SCKET IO

socket.broadcast.to('my room').emit('hello', msg);
Tomer Mantzuri