index.js
function publish(event) {
	/*jshint validthis: true */
	if (DEBUG_DISPATCHER) log.info('PUBLISH: ' + event);
	if (!event) {
		return;
	}
	redisPublisher.publish(event, '');
	return this;
}
function publish(event) {
	/*jshint validthis: true */
	if (DEBUG_DISPATCHER) log.info('PUBLISH: ' + event);
	if (!event) {
		return;
	}
	redisPublisher.publish(event, '');
	return this;
}
function publish ( event ) { /*jshint validthis: true */ if ( DEBUG_DISPATCHER ) log . info ( 'PUBLISH: ' + event ) ; if ( ! event ) { return ; } redisPublisher . publish ( event , '' ) ; return this ; }
Publishes an event across the cluster. All dispatchers that are listening for this event will notify their attached contexts.
@param event A string name for an event, such as "org_14301" to be notified whenever that org is updated.
@returns {*} The dispatcher, for fluent calls.
Publishes an event across the cluster . All dispatchers that are listening for this event will notify their attached contexts .