repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
chore: v2.4.9
[poolifier.git]
/
tests
/
worker-files
/
thread
/
emptyWorker.js
1
'use strict'
2
const
{
ThreadWorker
,
KillBehaviors
} =
require
(
'../../../lib/index'
)
3
4
function
test
() {}
5
6
module
.
exports
=
new
ThreadWorker
(
test
, {
7
maxInactiveTime
:
500
,
8
killBehavior
:
KillBehaviors
.
HARD
9
})