Refactor to worker version
This commit is contained in:
10
src/worker/node/terminateWorker.js
Normal file
10
src/worker/node/terminateWorker.js
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* terminateWorker
|
||||
*
|
||||
* @name terminateWorker
|
||||
* @function kill worker
|
||||
* @access public
|
||||
*/
|
||||
module.exports = (worker) => {
|
||||
worker.kill();
|
||||
};
|
||||
Reference in New Issue
Block a user