feat: sync task function names in pool
[poolifier.git] / tests / worker-files / cluster / echoWorker.js
... / ...
CommitLineData
1'use strict'
2const { ClusterWorker, KillBehaviors } = require('../../../lib')
3
4function echo (data) {
5 return data
6}
7
8module.exports = new ClusterWorker(echo, {
9 killBehavior: KillBehaviors.HARD
10})