build(deps): bump poolifier
[poolifier.git] / tests / worker-files / thread / echoWorker.mjs
CommitLineData
d35e5717 1import { KillBehaviors, ThreadWorker } from '../../../lib/index.cjs'
b2fd3f4a
JB
2
3/**
4 *
5 * @param data
2eb14889 6 * @returns
b2fd3f4a
JB
7 */
8function echo (data) {
9 return data
10}
11
12export default new ThreadWorker(echo, {
13 killBehavior: KillBehaviors.HARD
14})