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