import {
checkValidPriority,
- checkValidWorkerChoiceStrategy
+ checkValidWorkerChoiceStrategy,
} from '../pools/utils.js'
import { isPlainObject } from '../utils.js'
import type { TaskFunctionObject } from './task-functions.js'
}
if (typeof fnObj.taskFunction !== 'function') {
throw new TypeError(
- // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
`taskFunction object 'taskFunction' property '${fnObj.taskFunction}' is not a function`
)
}