Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-hybrid...
[poolifier.git] / tests / worker-files / cluster / echoWorker.js
CommitLineData
325f50bc 1'use strict'
cdace0e5 2const { ClusterWorker, KillBehaviors } = require('../../../lib')
325f50bc
S
3
4function echo (data) {
5 return data
6}
7
df0f13af
JB
8module.exports = new ClusterWorker(echo, {
9 killBehavior: KillBehaviors.HARD
10})