build(deps-dev): apply updates
[poolifier.git] / tests / worker-files / cluster / echoWorker.cjs
1 'use strict'
2 const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs')
3
4 /**
5 *
6 * @param data
7 * @returns
8 */
9 function echo (data) {
10 return data
11 }
12
13 module.exports = new ClusterWorker(echo, {
14 killBehavior: KillBehaviors.HARD,
15 })