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