lib/pararr.js
function handleMessage(m, workerIdx) {
	var job = jobs[m.context.jobID];

	switch(job.type) {
		case 'func':
			handleArrayResult(m, workerIdx);
			break;
		case 'exec':
			handleExecResult(m, workerIdx);
			break;
		default:
			throw Error('Invalid job type: ' + job.type);
	}
}
function handleMessage(m, workerIdx) {
	var job = jobs[m.context.jobID];

	switch(job.type) {
		case 'func':
			handleArrayResult(m, workerIdx);
			break;
		case 'exec':
			handleExecResult(m, workerIdx);
			break;
		default:
			throw Error('Invalid job type: ' + job.type);
	}
}
function handleMessage ( m , workerIdx ) { var job = jobs [ m . context . jobID ] ; switch ( job . type ) { case 'func' : handleArrayResult ( m , workerIdx ) ; break ; case 'exec' : handleExecResult ( m , workerIdx ) ; break ; default : throw Error ( 'Invalid job type: ' + job . type ) ; } }
Handles messages from the workers
Handles messages from the workers