dist/middleware/client.js
/**
  * Default function handler if dispatch isn't present in the event. Emits the action.type and action.payload to the server
  * @param {object} event - the user event handler
  * @param {socket} socket - the web socket
  * @param {object} store - the redux store
  * @param {object} action - the redux action
  * @since v2.0.1
  * @return {null}
  */
Default function handler if dispatch isn't present in the event.
Default function handler if dispatch isn ' t present in the event .
function clientHandler(event, socket, store, action) {
  if (event.dispatch) {
    return event.dispatch(socket, store, action);
  }
  return exports.defaultSocketEmit(socket, store, action);
}
function clientHandler ( event , socket , store , action ) { if ( event . dispatch ) { return event . dispatch ( socket , store , action ) ; } return exports . defaultSocketEmit ( socket , store , action ) ; }
Default function handler if dispatch isn't present in the event.
Default function handler if dispatch isn ' t present in the event .