2 const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs')
3 const { sleepTaskFunction } = require('../../test-utils.cjs')
5 async function sleep (data) {
6 return sleepTaskFunction(data, 2000)
9 module.exports = new ClusterWorker(sleep, {
10 killBehavior: KillBehaviors.HARD,