repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1787a79c16c7923f01745bd086bac6329ee78423
[poolifier.git]
/
tests
/
worker
/
thread
/
emptyWorker.js
1
'use strict'
2
const
{
ThreadWorker
,
killBehaviorTypes
} =
require
(
'../../../lib/index'
)
3
4
function
test
(
data
) {}
5
6
module
.
exports
=
new
ThreadWorker
(
test
, {
7
maxInactiveTime
:
500
,
8
killBehavior
:
killBehaviorTypes
.
HARD
9
})