repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9a8ae66eb689ad731101e7bcc40f980d268a4210
[poolifier.git]
/
echoWorker.mjs
1
import { KillBehaviors, ThreadWorker } from '../../../lib/index.cjs'
2
3
/**
4
*
5
* @param data
6
* @returns
7
*/
8
function echo (data) {
9
return data
10
}
11
12
export default new ThreadWorker(echo, {
13
killBehavior: KillBehaviors.HARD
14
})