docs: refine changelog entries
[poolifier.git] / tests / worker-files / cluster / echoWorker.cjs
CommitLineData
325f50bc 1'use strict'
d35e5717 2const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs')
325f50bc
S
3
4function echo (data) {
5 return data
6}
7
df0f13af
JB
8module.exports = new ClusterWorker(echo, {
9 killBehavior: KillBehaviors.HARD
10})