1 import { KillBehaviors, ThreadWorker } from '../../../lib/index.js'
2 import { executeTaskFunction } from '../../test-utils.js'
3 import { TaskFunctions } from '../../test-types.js'
10 function test (data) {
12 data.function = data.function || TaskFunctions.jsonIntegerSerialization
13 return executeTaskFunction(data)
16 export default new ThreadWorker(test, {
17 killBehavior: KillBehaviors.HARD,