1 import { KillBehaviors, ThreadWorker } from '../../../lib/index.cjs'
2 import { sleepTaskFunction } from '../../test-utils.cjs'
9 async function sleep (data) {
10 return sleepTaskFunction(data, 50000)
13 export default new ThreadWorker(sleep, {
14 killBehavior: KillBehaviors.HARD,