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