Cleanups
[poolifier.git] / tests / worker-files / thread / echoWorker.js
CommitLineData
106744f7 1'use strict'
1a81f8af 2const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
106744f7 3
4function echo (data) {
5 return data
6}
7
4c35177b 8module.exports = new ThreadWorker(echo, {
1a81f8af 9 killBehavior: KillBehaviors.HARD
4c35177b 10})