build(deps): bump poolifier
[poolifier.git] / tests / worker-files / thread / echoWorker.mjs
1 import { KillBehaviors, ThreadWorker } from '../../../lib/index.cjs'
2
3 /**
4 *
5 * @param data
6 * @returns
7 */
8 function echo (data) {
9 return data
10 }
11
12 export default new ThreadWorker(echo, {
13 killBehavior: KillBehaviors.HARD
14 })