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