Merge branch 'master' into issue-70
[poolifier.git] / tests / worker / thread / echoWorker.js
1 'use strict'
2 const { ThreadWorker } = require('../../../lib/index')
3
4 function echo (data) {
5 return data
6 }
7
8 module.exports = new ThreadWorker(echo, { maxInactiveTime: 500 })