repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
998e56b20b108899fadd7000b414885dcd4c33b6
[poolifier.git]
/
echoWorker.js
1
'use strict'
2
const
{
ThreadWorker
,
KillBehaviors
} =
require
(
'../../../lib'
)
3
4
function
echo
(
data
) {
5
return
data
6
}
7
8
module
.
exports
=
new
ThreadWorker
(
echo
, {
9
killBehavior
:
KillBehaviors
.
HARD
10
})