cluster-store.js/worker.js

9 lines
180 B
JavaScript
Raw Permalink Normal View History

2016-09-09 00:00:53 +00:00
'use strict';
module.exports.create = function (opts) {
return require('cluster-rpc/worker').create({
name: 'memstore.' + (opts.name || '')
, worker: opts.worker
});
};