lib/synchronization/socket-emitter.js
function send (event, data) {
    var envelope = {
      event: event,
      data: data
    };
    debug('send', envelope);
    socket.send(JSON.stringify(envelope));
  }
function send (event, data) {
    var envelope = {
      event: event,
      data: data
    };
    debug('send', envelope);
    socket.send(JSON.stringify(envelope));
  }
function send ( event , data ) { var envelope = { event : event , data : data } ; debug ( 'send' , envelope ) ; socket . send ( JSON . stringify ( envelope ) ) ; }
Send an event
@param {string} event
@param {*} data
Send an event