2 const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs')
3 const { sleepTaskFunction } = require('../../test-utils.cjs')
9 async function error (data) {
10 return sleepTaskFunction(
14 'Error Message from ClusterWorker:async'
18 module.exports = new ClusterWorker(error, {
19 killBehavior: KillBehaviors.HARD,