repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1026a369199fabf767532e463d436794f502ef6d
[poolifier.git]
/
echoWorker.js
1
'use strict'
2
const
{
ThreadWorker
} =
require
(
'../../lib/workers'
)
3
4
function
echo
(
data
) {
5
return
data
6
}
7
8
module
.
exports
=
new
ThreadWorker
(
echo
, {
maxInactiveTime
:
500
})