lib/socket-io-handler.js
function emitToEveryone(channelName, data) {
        Object.keys(io.sockets.sockets).filter(function (key) {
            return !!io.sockets.sockets[key].transomUser;
        }).map(function (socketKey) {
            io.sockets.sockets[socketKey].emit(channelName, data);
        });
    }
function emitToEveryone(channelName, data) {
        Object.keys(io.sockets.sockets).filter(function (key) {
            return !!io.sockets.sockets[key].transomUser;
        }).map(function (socketKey) {
            io.sockets.sockets[socketKey].emit(channelName, data);
        });
    }
function emitToEveryone ( channelName , data ) { Object . keys ( io . sockets . sockets ) . filter ( function ( key ) { return ! ! io . sockets . sockets [ key ] . transomUser ; } ) . map ( function ( socketKey ) { io . sockets . sockets [ socketKey ] . emit ( channelName , data ) ; } ) ; }
Emit 'data' to all sockets for the authenticated Users.

@param {*} channelName
@param {*} data
Emit data to all sockets for the authenticated Users .