refactor(ci): cleanup GH actions
[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
5993cfc5 7 * @returns
3a502712 8 */
325f50bc
S
9function echo (data) {
10 return data
11}
12
df0f13af 13module.exports = new ClusterWorker(echo, {
3a502712 14 killBehavior: KillBehaviors.HARD,
df0f13af 15})